Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
How to list all Child Processes of an Applikation
Jan Christoph
10/4/2007 8:35:00 AM
In my Ruby Applikation I start a windows-batch-script which then starts
apache tomcat.
As i need the output of that programm i run it with "IO.popen(cmd)"
Problems occur, when i now try to stop or kill that tomcat again.
Is there any method of getting the pids of the child processes of an
applikation?
i then could get the pid of the shell and with that the pid of the
tomcat applikation.
Thanks in advance
--
Posted via
http://www.ruby-...
.
1 Answer
Jan Christoph
10/4/2007 10:28:00 AM
0
Ok i can get the pid of the child with:
io = popen(...)
pid = io.pid
But how do i get the pid of the grandchilds?
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How to list all Child Processes of an Applikation
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password