On 18.03.17 15:15, Freddy Rietdijk wrote:
I would like to know if you're open to supporting `exec -a` or an
environment variable for setting `argv[0]`, and have some pointers as to
where that should be implemented.
On Nixpkgs we typically use wrappers to set environment variables like
PATH or PY
https://pypi.python.org/pypi/setproctitle
From: Python-Dev [mailto:python-dev-bounces+tritium-list=sdamon@python.org]
On Behalf Of Freddy Rietdijk
Sent: Saturday, March 18, 2017 9:15 AM
To: Python-Dev
Subject: [Python-Dev] Set program name through exec -a or environment variable
Oleg Broytman wrote:
On Sat, Mar 18, 2017 at 10:27:58AM -0500, Ryan Gonzalez
wrote:
exec -a would seem to end up setting argv[0] on the CPython interpreter
itself, which I don't think is the desired effect...
That's exactly what OP asked -- how to change that?
Maybe python itself shoul
On Sat, Mar 18, 2017 at 10:27:58AM -0500, Ryan Gonzalez
wrote:
> exec -a would seem to end up setting argv[0] on the CPython interpreter
> itself, which I don't think is the desired effect...
That's exactly what OP asked -- how to change that?
> --
> Ryan ()
> Yoko Shimomura > ry
exec -a would seem to end up setting argv[0] on the CPython interpreter
itself, which I don't think is the desired effect...
--
Ryan (ライアン)
Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else
http://refi64.com
On Mar 18, 2017 10:11 AM, "Freddy Rietdijk" wrote:
> Hi,
>
> I
Hi,
I would like to know if you're open to supporting `exec -a` or an
environment variable for setting `argv[0]`, and have some pointers as to
where that should be implemented.
On Nixpkgs we typically use wrappers to set environment variables like PATH
or PYTHONPATH for individual programs. Consi