delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | Markus Hoenicka <Markus DOT Hoenicka AT uth DOT tmc DOT edu> |
MIME-Version: | 1.0 |
Message-ID: | <15288.44810.424000.170375@gargle.gargle.HOWL> |
Date: | Mon, 1 Oct 2001 17:59:38 +0000 |
To: | cygwin AT cygwin DOT com |
Subject: | frok() |
In-Reply-To: | <541918368.20011001190123@frontember.hu> |
References: | <541918368 DOT 20011001190123 AT frontember DOT hu> |
X-Mailer: | VM 6.94 under Emacs 20.6.1 |
man fork will enlighten you Markus Scr34m writes: > Hi all, > > Here is these simple program how can i make programs to stay in > background and run. Every 1 second do everything ?? > > Fork works in cygWin? > > I installed it as DOS and as Unix but doesn't work :( > > int main (void) { > if(fork()) > exit(0); > else { > perror("cannot fork"), exit(1); > } > while(1) { > printf("jkk"); > sleep(60); > } > } > > --- > Bye Scr34m > > | www.inertia.hu | www.frontember.hu | eurohack.at.hu | > > > -- > 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/ > -- Markus Hoenicka, PhD UT Houston Medical School Dept. of Integrative Biology and Pharmacology 6431 Fannin MSB4.114 Houston, TX 77030 (713) 500-6313, -7477 (713) 500-7444 (fax) Markus DOT Hoenicka AT uth DOT tmc DOT edu http://ourworld.compuserve.com/homepages/hoenicka_markus/ -- 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 |