This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Latest coolview: execv() broken?
- To: gnu-win32 at cygnus dot com
- Subject: Latest coolview: execv() broken?
- From: Arlindo da Silva <arlindo at niteroi dot gsfc dot nasa dot gov>
- Date: Sat, 1 Nov 1997 07:51:37 -0500 (EST)
A couple of weeks I reported that the last coolview had brought back long
waits before starting an application. I believe I have traced that back to
execv().
I have a little shell program which sets environment and what not, and
then starts the main application with
execv(path,argv);
This creates a delay of a couple of a minute or so and the error message:
sig_send: WFSO error, pid 00, rc 258, signal 0, last signal 2, error 0
but the application starts just fine. I didn't have this delay problem
with older (summer or so) versions of coolview.
However, if I use
spawnv(_P_DETACH,path,argv)
instead of execv(), I get no delay, and everything works fine as well.
For the record: I am running b18 with Sergey's latest, on a pentium laptop
with 16 megs of RAM, win95.
Thank you.
--
Arlindo da Silva
dasilva@alum.mit.edu
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".