[Twisted-Python] A useful value for argv[0]
Glyph Lefkowitz
glyph at twistedmatrix.com
Sun Feb 16 11:33:49 MST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday, February 16, 2003, at 12:18 PM, Bob Ippolito wrote:
( ... Lots of other people saying lots of other things ... )
> Well, can't you do it with os.execve(sys.executable, ...) ?
It occurs to me that we're exec'ing in any case, when we daemonize. In
the case where you don't daemonize, it's probably not too important to
set argv[0] anyway.
Could we compromise on only setting it then?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)
iD8DBQE+T9mRvVGR4uSOE2wRAq0sAKCTk2tGZI4mLCDhl78xdE8DwxqEngCfUdDW
1xLpgbXNqei3RGaUzvaAIZE=
=ch+L
-----END PGP SIGNATURE-----
More information about the Twisted-Python
mailing list