Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <002b01c1d89d$c8e35010$f935a33e@ORDINATORE> From: "Albert Russel" To: Subject: starting programs from a windows prompt Date: Sun, 31 Mar 2002 12:21:13 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Hi, I have a problem with programs that start processes when they are run from the windows2000 prompt: // Parent program parent.c #include #include int main() { system("child"); return 0; } // Child program child.c #include int main() { printf("freeeen\n"); return 0; } Both programs compile and run fine from the cygwin shell, I start the parent program and 'freeeen' is printed to the screen. If I start the parent program from the windows2000 prompt no output is being sent to the screen. No error message is printed, just nothing happens. The cygwin dll is in my path. Should I use another call than 'system'? Greetings, Albert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/