Path: utzoo!attcan!uunet!super!rminnich From: rminnich@super.ORG (Ronald G Minnich) Newsgroups: comp.sys.amiga.tech Subject: Re: Is there a preferred way to do popen()? Message-ID: <631@super.ORG> Date: 22 Aug 88 15:05:52 GMT References: <618@super.ORG> <601@faui44.informatik.uni-erlangen.de> Sender: uucp@super.ORG Reply-To: rminnich@metropolis.UUCP (Ronald G Minnich) Organization: Supercomputing Research Center, Lanham, MD Lines: 18 In article <601@faui44.informatik.uni-erlangen.de> mlelstv@faui44.UUCP (Michael van Elst) writes: >Hmm, you say PIPE: is a non-standard hack ? I know of several Sorry, i did not realize how bad that might sound. I very much like the variours P[IPE]: devices that have been shipped, but they are not part of a standard 1.2 distribution. I was wondering if there was a simple mechanism that exists in 1.2 that would do for popen(). >popen() returns two filehandles that can both be used for >input and for ouput. In usual one task then closes input and >the other closes ouput. No, you are thinking of pipe(). Read the manual for popen(). It only returns a read or a write FILE *. > ... mentions clipboard ... I will look at it again. Has anybody used clipboard.device yet? I have not seen it used. maybe it is time to write clip: as Peter keeps telling us. Only problem is my docs for clipboard.device are all 1.1 ... ron