Latest coolview: execv() broken?

Arlindo da Silva arlindo@niteroi.gsfc.nasa.gov
Sat Nov 1 05:26:00 GMT 1997


  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".



More information about the Cygwin mailing list