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 gregory.p.smith
Recipients gregory.p.smith, ydroneaud
Date 2022-04-05.18:51:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1649184692.09.0.0682253012822.issue47027@roundup.psfhosted.org>
In-reply-to
Content
this mostly requires plumbing to accept an int as the cwd and plumb that through to the between fork and exec code to call `fchdir(cwd_fd)` on the `int` instead of chdir(cwd) on the `char*`.

the Modules/_posixsubprocess.c internals are a bit of a mess today with a bazillion parameters passed to internal functions which makes this a pain... I want to refactor things to use a struct and not need that, but adding this feature is doable regardless.
History
Date User Action Args
2022-04-05 18:51:32gregory.p.smithsetrecipients: + gregory.p.smith, ydroneaud
2022-04-05 18:51:32gregory.p.smithsetmessageid: <1649184692.09.0.0682253012822.issue47027@roundup.psfhosted.org>
2022-04-05 18:51:32gregory.p.smithlinkissue47027 messages
2022-04-05 18:51:32gregory.p.smithcreate