On 2012-03-04, Chris Rebert <c...@rebertia.com> wrote:
> On Sat, Mar 3, 2012 at 9:38 PM, Damjan Georgievski <gdam...@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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to