Path: news.uiowa.edu!chi-news.cic.net!newsxfer2.itd.umich.edu!newsxfer.itd.umich.edu!news.mathworks.com!news.kei.com!newsstand.cit.cornell.edu!newstand.syr.edu!news.corpcomm.net!news.gate.net!news.gate.net!not-for-mail From: stever@gate.net (Steve Reeves) Newsgroups: comp.sys.apple2.gno Subject: Re: Why no popen()? Could this be the reason? Date: 24 Jan 1996 02:12:13 -0500 Organization: CyberGate, Inc. Lines: 17 Message-ID: <4e4m4d$ehbs@navajo.gate.net> References: <4dq5d4$m9u@lastactionhero.rs.itd.umich.edu> <4durq7$1b0@apollo.csd.net> <4e07d1$s34@lastactionhero.rs.itd.umich.edu> <4e3d0n$c27@apollo.csd.net> Reply-To: stever@gate.net NNTP-Posting-Host: navajo.gate.net In article <4e3d0n$c27@apollo.csd.net>, Jawaid Bazyar wrote: >Sean McAfee (mcafee@umich.edu) wrote: >: Well, OK. I was just wondering if there was a reason popen() isn't around, >: since it's rather conspicuous by its absence. > > I just never got around to writing it. There's a full implementation of popen() and pclose() in Steven's "Advanced Programming in the UNIX Environment" (on page 437-439, also available on the net at URL "ftp://ftp.uu.net/published/books/ stevens.advprog.tar.Z"). But it uses waitpid(), which GNO also doesn't have yet. -- Steve Reeves stever@gate.net