[systemd-devel] [PATCH] *.py: don't hardcode /usr/bin/python

Michael Biebl mbiebl at gmail.com
Fri Nov 30 12:49:49 PST 2012


2012/11/30 Ramkumar Ramachandra <artagnon at 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.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list