Author chris.jerdonek
Recipients asvetlov, chris.jerdonek, christian.heimes, ezio.melotti, gregory.p.smith, lyapun, neologix, pitrou, r.david.murray, tim.golden
Date 2012-11-03.16:26:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Also, what reason to get shell name from COMSPEC? What should we do if COMSPEC points to some another shell, not cmd.exe?

FWIW, the subprocess module does this (with surrounding code linked after):

comspec = os.environ.get("COMSPEC", "cmd.exe")
Date User Action Args
2012-11-03 16:26:55chris.jerdoneksetrecipients: + chris.jerdonek, gregory.p.smith, pitrou, christian.heimes, tim.golden, ezio.melotti, r.david.murray, asvetlov, neologix, lyapun
2012-11-03 16:26:55chris.jerdoneksetmessageid: <>
2012-11-03 16:26:55chris.jerdoneklinkissue16353 messages
2012-11-03 16:26:55chris.jerdonekcreate