delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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" <a DOT russel AT chello DOT nl> |
To: | <cygwin AT cygwin DOT com> |
Subject: | starting programs from a windows prompt |
Date: | Sun, 31 Mar 2002 12:21:13 +0200 |
MIME-Version: | 1.0 |
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 <stdlib.h> #include <sys/wait.h> int main() { system("child"); return 0; } // Child program child.c #include <stdio.h> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |