popen()

Charles Hannum CMH117 at psuvm.psu.edu
Wed Mar 7 18:39:11 AEST 1990


In article <2149 at psuhcx.psu.edu>, wcf at psuhcx.psu.edu (Bill Fenner) says:
>
>In article <1669 at gould.doc.ic.ac.uk> dds at cc.ic.ac.uk (Diomidis Spinellis)
>writes:
>|In article <90061.202350CMH117 at psuvm.psu.edu> CMH117 at psuvm.psu.edu (Charles
>Hannum) writes:
>|>popen() cannot be implemented under DOS.
>|
>|/*
>| * popen, pclose functions for MS DOS
>
>popen() cannot be *properly* implemeted under MSDOS.


Another point (besides the inherent limitation on the amount of data passed
over the pipe) that no one has mentioned:

   *  If the program exits abnormally FOR ANY REASON the temporary file(s)
      will not be erased.

Everyone is willing to offer their own kludgy implementation, to try to show
off, rather than admitting that DOS just doesn't fit pipes.  [B-)]


Virtually,
- Charles Martin Hannum II       "Klein bottle for sale ... inquire within."
    (That's Charles to you!)     "To life immortal!"
  cmh117 at psuvm.{bitnet,psu.edu}  "No noozzzz izzz netzzzsnoozzzzz..."
  c9h at psuecl.{bitnet,psu.edu}    "Mem'ry, all alone in the moonlight ..."



More information about the Comp.lang.c mailing list