Op 1 dec. 2012, om 05:04 heeft Ramkumar Ramachandra <artag...@gmail.com> het 
volgende geschreven:

> Michael Biebl wrote:
>> 2012/11/30 Ramkumar Ramachandra <artag...@gmail.com>:
>>> Execute python using "/usr/bin/env python" instead of hard-coding the
>> 
>> I'm not really a fan of using /usr/bin/env, as you can pick up a
>> random python version depending on how your PATH is setup.
>> Besides, you need to spawn an additional binary.
>> I would assume that pretty much every distro ships the python
>> interpreter as /usr/bin/python.
> 
> I don't follow your reasoning: it is idiomatic to use "/usr/bin/env
> $interpreter", because every distro does not necessarily ship it as
> /usr/bin/$interpreter.

Even better: 'env' is located in /bin on some distros :)


_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to