homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients docs@python, jamesdlin, r.david.murray
Date 2017年07月01日.23:44:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498952667.77.0.193311813661.issue30798@psf.upfronthosting.co.za>
In-reply-to
Content
If you pass shell=True, PWD gests set, because it is a shell variable and the shell sets it. If you don't, it doesn't, just like all the other shell-maintained variables. I'm not sure it is worth calling out specifically in the Popen docs, myself; it is one consequence among *many* of calling a program directly rather than through a shell. (Note that if a shell is involved at any point, PWD gets set, so it is only binary programs that require that they be called from a shell that are at issue.)
Furthermore, it is not obvious that even all shells set PWD, although I believe that most do.
History
Date User Action Args
2017年07月01日 23:44:27r.david.murraysetrecipients: + r.david.murray, docs@python, jamesdlin
2017年07月01日 23:44:27r.david.murraysetmessageid: <1498952667.77.0.193311813661.issue30798@psf.upfronthosting.co.za>
2017年07月01日 23:44:27r.david.murraylinkissue30798 messages
2017年07月01日 23:44:27r.david.murraycreate

AltStyle によって変換されたページ (->オリジナル) /