Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #5855
| From | TheSaint <nobody@nowhere.net.no> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: how to get PID from subprocess library |
| Followup-To | comp.lang.python |
| Date | 2011-05-20 23:19 +0800 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <ir60qf$gra$1@speranza.aioe.org> (permalink) |
| References | <f1d62b97-999b-472a-991c-6b6015b60d11@glegroupsg2000goo.googlegroups.com> |
Followups directed to: comp.lang.python
Miki Tebeka wrote: > The best module for doing such things is subprocess. And the Popen object > has a pid attribute I knew that, it's my fault that I'm not good to manage with popen. I found simplier to use subprocess.getstatusoutput. Maybe this function doesn't return the child pid, so I should adopt to work with Popen :( -- goto /dev/null
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: how to get PID from subprocess library Miki Tebeka <miki.tebeka@gmail.com> - 2011-05-19 09:05 -0700 Re: how to get PID from subprocess library TheSaint <nobody@nowhere.net.no> - 2011-05-20 23:19 +0800
csiph-web