You are not logged in.

Search results

Search results 1-5 of 5.

Friday, June 10th 2005, 5:27pm

Author: fabienhenon

kstart child PID

Hi, With the script below : povray $@ & echo $! > $(kdeconfig --path tmp)/povray.pid I can get povray pid With the script below : kstart povray $@ & echo $! > $(kdeconfig --path tmp)/povray.pid I can get kstart pid, not povray pid (and that is what I want) Cheers, Fabien

Thursday, June 9th 2005, 7:00pm

Author: fabienhenon

kstart child PID

Sorry, but I do not understand ( back from work, dumbness overwhelms me)... What do you suggest ? Sure, I can use a script that writes the child PID into a pipe, but I just do not know how to retrieve it. with this command... f=popen2.Popen4('kstart --ontop povray +itest.pov',1) kstart spawns a child, but I cannot get the PID of its child. If you have even a tiny script, please enclose it. Thanks for enduring this. Fabien

Thursday, June 9th 2005, 12:26pm

Author: fabienhenon

kstart child PID

with the python script below : f=popen2.Popen4('kstart --ontop povray +itest.pov',1) az=f.pid az returns the PID number of kstart, not the PID NUMBER of povray whereas with f=popen2.Popen4('povray +itest.pov',1) az=f.pid az returns the PID number of povray. I need to know the PID number to check whether the render is still running and to read the output stream. Thanks

Wednesday, June 8th 2005, 10:54pm

Author: fabienhenon

kstart child PID

Yes but how do you get the PID number of the app launched by kstart ?

Tuesday, June 7th 2005, 10:09pm

Author: fabienhenon

kstart child PID

Hi . I am writing an editor for Linux for the POV-RAY raytracer (with wxpython GUI). When the user clicks on render I use 'kstart --ontop povray ...' to launch the render on top. The problem is that I need to know the PID of povray to read the output. I get the PID of kstart ( that dies when povray is started ), but I do not get the child PID. Does anyone have an idea ? Thanks