Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: set the cwd for created processes #52

Open
rgrinberg opened this issue Oct 15, 2021 · 3 comments · May be fixed by #83
Open

Feature Request: set the cwd for created processes #52

rgrinberg opened this issue Oct 15, 2021 · 3 comments · May be fixed by #83

Comments

@rgrinberg
Copy link

What it says on the tin. Essentially inserting a chdir before the exec.

@sheredom
Copy link
Owner

Should be doable - but I don't have the bandwidth at present to do this.

@xianglin1998
Copy link

For windows:
image
For Linux:
image

When I have time, I will submit the changes in the image above. Using the changes above is better than chdir because it will not damage the working directory of the parent process.

@sheredom
Copy link
Owner

I look forward to the PR!

@caesay caesay linked a pull request Mar 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants