delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/12/17/09:37:20

From: dolby AT cs DOT uiuc DOT edu (Julian Dolby)
Subject: Trouble with popen...
17 Dec 1996 09:37:20 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199612171639.KAA09962.cygnus.gnu-win32@pink-panther.cs.uiuc.edu>
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

 Greetings,
	    I have been trying to use the popen function to execute a
shell command, returning its input/output as a file. I have a small
test case that simply calls popen, and then reads the resultant file
until reaching eof. It works fine under MSVC but popen always returns
NULL when the same program is compiled with gcc from beta-17-1. I am
running on Windows NT Server 4.0; has anyone else made popen work?

	- Julian Dolby

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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