Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28032
| Date | 2012-08-28 15:29 -0800 |
|---|---|
| From | Tim Johnson <tim@akwebsoft.com> |
| Subject | Re: popen4 - get exit status |
| References | <20120827223938.GZ35917@mail.akwebsoft.com> <CAMuTYXhvuuGjttJgxrcAusmxVPO0w+e6RyfWUpYAgFYUfhCowQ@mail.gmail.com> <20120827234359.GA35917@mail.akwebsoft.com> <76mo38heqavlv4huh4jvl1si57jb62tnnu@invalid.netcom.com> |
| Organization | AkWebsoft |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3910.1346196600.4697.python-list@python.org> (permalink) |
* Dennis Lee Bieber <wlfraed@ix.netcom.com> [120828 07:11]: > On Mon, 27 Aug 2012 15:43:59 -0800, Tim Johnson <tim@akwebsoft.com> > declaimed the following in gmane.comp.python.general: > > > * Benjamin Kaplan <benjamin.kaplan@case.edu> [120827 15:20]: > > > The popen* functions are deprecated. You should use the subprocess module > > > instead. > > No, I'm stuck with py 2.4 on one of the servers I'm using and > > Shouldn't be a problem: > > -=-=-=- > 17.1 subprocess -- Subprocess management > > New in version 2.4. Thanks Dennis, I had misread the docs, you're right - after rereading them I has able to implement subprocess - glad to have it as I no longer have any servers to 'service' with anything older than 2.4. And Ben, please accept my apologies for seeming so dismissive. cheers tj > The subprocess module allows you to spawn new processes, connect to > their input/output/error pipes, and obtain their return codes. This > module intends to replace several other, older modules and functions, > such as: > -=-=-=- > -- > Wulfraed Dennis Lee Bieber AF6VN > wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/ > > -- > http://mail.python.org/mailman/listinfo/python-list -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: popen4 - get exit status Tim Johnson <tim@akwebsoft.com> - 2012-08-28 15:29 -0800
csiph-web