www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/10/28/11:24:23

Date: Thu, 28 Oct 93 23:36:10 JST
From: Stephen Turnbull <turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp>
To: vic AT THEORY
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: popen

Not in general---this is a defect of MS-DOS.  It's theoretically
possible under DesqView/X, but I don't know the current status---
the implementation was broken the last time I tried.  I will be trying
to upgrade soon, but I don't know that this has been fixed....
    If you don't really need pipes, but just want to pass input to a
child process which is a filter, this can be done by using temporary
files.  See the MS-DOS implementation of gawk (you can get it at any
GNU mirror, eg wuarchive.wustl.edu).  It doesn't work quite right "out
of the box" (it was intended for I think Turbo and MSC) but the mods
needed for djgpp are obvious and take about fifteen minutes (look for
"#ifdef MSDOS").

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019