Subject: Re: Odd fork behavior- W95/b16
From: [email-masked] (DJ Delorie)

23 Oct 1996 08:54:11 -0700
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: [email-masked]
Original-CC: [email-masked], [email-masked], [email-masked]
In-reply-to: <[email-masked]> (message from
	Sergey Okhapkin on Wed, 23 Oct 1996 10: 16:34 +0300)
Original-Sender: [email-masked]

> Start your program with full qualified path 
> (/home/local/etc/httpd/src/httpd). There is a small bug in cygwin code - 
> fork tries to run program, specified in argv[0], and, if program changed 
> current directory before fork, fork() fails. For example, in

I discovered that, in some cases, you must provide the drive letter
also:

	d:\www\httpd

*My* problem with fork() is that (with apache, at least), when it
calls fork() to spawn the first child, fork() uses 100% of the CPU and
never returns.
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".