Re: Cygrunsrv and spawned processes

2003-12-08 Thread Frank Seesink
Corinna & Brian, Thank you! Thank you! Thank you! :-) I downloaded cygrunsrv 0.97-1 and it works! Thanks a bunch. I truly appreciate this. Thanks for all your help in this. Corinna Vinschen wrote: On Dec 5 18:00, Brian Ford wrote: 2003-12-05 Brian Ford <[EMAIL PROTECTED]> * cygr

Re: Cygrunsrv and spawned processes

2003-12-07 Thread Corinna Vinschen
On Dec 5 18:00, Brian Ford wrote: > 2003-12-05 Brian Ford <[EMAIL PROTECTED]> > > * cygrunsrv.cc (terminate_child): Send the signal to the whole > processes group. > > --- cygrunsrv.cc 2003-12-05 17:48:26.25000 -0600 > +++ cygrunsrv.cc.orig 2003-12-05 17:48:13.52000 -0

Re: Cygrunsrv and spawned processes

2003-12-05 Thread Brian Ford
On Fri, 5 Dec 2003, Frank Seesink wrote: > Corinna Vinschen wrote: > > Cygrunsrv has no idea about child processes > > started from it's inferior process. It's the responsibility of that > > process to care for its children. This is different from the situation > > in the shell where a Ctrl-C res

Re: Cygrunsrv and spawned processes

2003-12-05 Thread Frank Seesink
Corinna Vinschen wrote: *snip* This tells me that cygrunsrv is not giving you a full environment within which to run the app. I've looked into spawnlp() and the P_NOWAIT mode, It gives you the system environment plus everything specified by the -e option. Where else should it get its environm

Re: Cygrunsrv and spawned processes

2003-12-05 Thread Frank Seesink
Igor, Just to be clear, I have now spent the better part of the day working on this, trying to fathom what's going on. All I can say is, cygrunsrv is doing _something_ differently when it comes to running Cygwin apps compared to running them from the BASH shell. I have now tested this every way f

Re: Cygrunsrv and spawned processes

2003-12-05 Thread Corinna Vinschen
On Dec 4 16:33, Frank Seesink wrote: > Igor Pechtchanski wrote: > >On Thu, 4 Dec 2003, Frank Seesink wrote: [LOTS OF USELESS FULL QUOTES DELETED] > This tells me that cygrunsrv is not giving you a full environment within > which to run the app. I've looked into spawnlp() and the P_NOWAIT mode,

Re: Cygrunsrv and spawned processes

2003-12-04 Thread Frank Seesink
Igor Pechtchanski wrote: On Thu, 4 Dec 2003, Frank Seesink wrote: QUESTION: If you have a Cygwin application binary which spawns a child process using spawnlp() in P_NOWAIT mode, is there a way to install that application as an NT service using cygrunsrv such that both the parent and child proc

Re: Cygrunsrv and spawned processes

2003-12-04 Thread Igor Pechtchanski
On Thu, 4 Dec 2003, Frank Seesink wrote: > QUESTION: > > If you have a Cygwin application binary which spawns a child process > using spawnlp() in P_NOWAIT mode, is there a way to install that > application as an NT service using cygrunsrv such that both the parent > and child process die cleanly?

Cygrunsrv and spawned processes

2003-12-04 Thread Frank Seesink
QUESTION: If you have a Cygwin application binary which spawns a child process using spawnlp() in P_NOWAIT mode, is there a way to install that application as an NT service using cygrunsrv such that both the parent and child process die cleanly? DETAILS: I have Googled and searched the Cygwin