Re: [Python-Dev] [pygtk] Application name is '-c'

2008-10-14 Thread Guido van Rossum
On Tue, Oct 14, 2008 at 4:15 PM, Greg Ewing <[EMAIL PROTECTED]> wrote: > Frédéric wrote: >> >> In several places, instead of having my application name, I get '-c'. > > This could be a result of the app having got launched > via 'python -c' somewhere along the way: > > % python -c 'import sys; prin

Re: [Python-Dev] [pygtk] Application name is '-c'

2008-10-14 Thread Greg Ewing
Frédéric wrote: In several places, instead of having my application name, I get '-c'. This could be a result of the app having got launched via 'python -c' somewhere along the way: % python -c 'import sys; print sys.argv[0]' -c Not sure whether to regard this as a bug or not. It's not clear w