Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20010228154358.47127.qmail@web9902.mail.yahoo.com> Date: Wed, 28 Feb 2001 15:43:58 +0000 (GMT) From: =?iso-8859-1?q?Keith=20Starsmeare?= Subject: _popen gives no output when run from a remote session To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit The following code when compiled -mno-cygwin doesn't work as expected from a remote telnet session, but works correctly when on the local machine: #include int main() { char psBuffer[128]; FILE *output; if ((output = _popen("nm a.exe", "r")) == NULL ) exit(1); while(!feof(output)) if(fgets(psBuffer, 128, output) != NULL) printf(psBuffer); printf( "\nProcess returned %d\n", _pclose( output ) ); return 0; } Is this a problem with the inetd? I'm using the latest everything (as of today) on an NT 4.0 Workstation SP5. Help! ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple