how to start a process and get it's pid?

Y

Yves Glodt

Hello,

another question rose for me today...

Is there a way to start an external process, in it's own context (not as
the exec-() functions do), and get it's pid...?

e.g.:

pid = wonderfulstartprocfunction('/usr/bin/wine bla.exe')
#... later

if (...):
os.kill(pid,9)


best regards,
Yves
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top