Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #6132
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!news.osn.de!diablo2.news.osn.de!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!newsfeed3.funet.fi!newsfeeds.funet.fi!news.cc.tut.fi!not-for-mail |
|---|---|
| From | Anssi Saari <as@sci.fi> |
| Newsgroups | comp.lang.python |
| Subject | Re: how to get PID from subprocess library |
| Date | Tue, 24 May 2011 13:45:09 +0300 |
| Lines | 9 |
| Message-ID | <vg3ipt04bt6.fsf@pepper.modeemi.fi> (permalink) |
| References | <ir3eu1$kgq$1@speranza.aioe.org> <mailman.1872.1305955023.9059.python-list@python.org> <ir8cfj$2s4$1@speranza.aioe.org> |
| NNTP-Posting-Host | pepper.modeemi.fi |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | news.cc.tut.fi 1306233909 7573 2001:708:310:3430:203:baff:fe7d:42dd (24 May 2011 10:45:09 GMT) |
| X-Complaints-To | abuse@tut.fi |
| NNTP-Posting-Date | Tue, 24 May 2011 10:45:09 +0000 (UTC) |
| User-Agent | Gnus/5.101 (Gnus v5.10.10) Emacs/21.3 (usg-unix-v) |
| Cancel-Lock | sha1:ko4fHbPh3OR33jiglIgvQNEDbr4= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:6132 |
Show key headers only | View raw
TheSaint <nobody@nowhere.net.no> writes:
> self.handle= \
> xmlrpclib.ServerProxy('http://localhost:%s/rpc' %int(self.numport))
Couldn't you just try to call something via this handle, like
self.handle.aria2.getVersion()? If there's an error, then start aria2
as a daemon and try again.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to get PID from subprocess library TheSaint <nobody@nowhere.net.no> - 2011-05-20 00:02 +0800
Re: how to get PID from subprocess library Kushal Kumaran <kushal.kumaran+python@gmail.com> - 2011-05-21 10:46 +0530
Re: how to get PID from subprocess library TheSaint <nobody@nowhere.net.no> - 2011-05-21 20:50 +0800
Re: how to get PID from subprocess library Kushal Kumaran <kushal.kumaran+python@gmail.com> - 2011-05-22 15:34 +0530
Re: how to get PID from subprocess library TheSaint <nobody@nowhere.net.no> - 2011-05-22 21:41 +0800
Re: how to get PID from subprocess library GMail Felipe <felipe.vinturini@gmail.com> - 2011-05-22 12:45 -0300
Re: how to get PID from subprocess library TheSaint <nobody@nowhere.net.no> - 2011-05-23 19:06 +0800
Re: how to get PID from subprocess library Anssi Saari <as@sci.fi> - 2011-05-24 13:45 +0300
Re: how to get PID from subprocess library TheSaint <nobody@nowhere.net.no> - 2011-05-24 21:36 +0800
csiph-web