Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21200
| From | Grant Edwards <invalid@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: The original command python line |
| Date | 2012-03-04 14:34 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <jivui3$j1r$1@reader1.panix.com> (permalink) |
| References | <4obb29-os3.ln1@archaeopteryx.softver.org.mk> <mailman.369.1330840141.3037.python-list@python.org> |
On 2012-03-04, Chris Rebert <clp2@rebertia.com> wrote: > On Sat, Mar 3, 2012 at 9:38 PM, Damjan Georgievski <gdamjan@gmail.com> wrote: >> How can I get the *really* original command line that started my python >> interpreter? > On Linux, you can read from: > /proc/<PID here>/cmdline > to get the null-delimited "command line". And if what you want is your own command line, you can replace <PID here> with self: /proc/self/cmdline -- Grant
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
The original command python line Damjan Georgievski <gdamjan@gmail.com> - 2012-03-04 06:38 +0100
Re: The original python command line Damjan Georgievski <gdamjan@gmail.com> - 2012-03-04 06:52 +0100
Re: The original command python line Chris Rebert <clp2@rebertia.com> - 2012-03-03 21:48 -0800
Re: The original command python line Grant Edwards <invalid@invalid.invalid> - 2012-03-04 14:34 +0000
Re: The original command python line Chris Rebert <clp2@rebertia.com> - 2012-03-03 21:57 -0800
Re: The original command python line Damjan Georgievski <gdamjan@gmail.com> - 2012-03-04 07:20 +0100
Re: The original command python line Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-03-04 02:19 -0500
csiph-web