Author gregory.p.smith
Recipients asvetlov, chris.jerdonek, ezio.melotti, gregory.p.smith, neologix, pitrou, tim.golden
Date 2012-11-02.21:25:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
> That is, shouldn't we look up `pwd.getpwuid(os.getuid()).pw_shell` ?
> (but only when os.getuid() == os.geteuid()?)

No, you can't use the users shell from the pwd module.  That can be
any crazy program.  Not a functional /bin/sh for use in making
commands when shell=True in subprocess which is where this feature
request came from.

*system* default, not the user's.  subprocess MUST use /bin/sh or
equivalent, ignoring any per-user setting.
Date User Action Args
2012-11-02 21:25:49gregory.p.smithsetrecipients: + gregory.p.smith, pitrou, tim.golden, ezio.melotti, asvetlov, chris.jerdonek, neologix
2012-11-02 21:25:49gregory.p.smithlinkissue16353 messages
2012-11-02 21:25:49gregory.p.smithcreate