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

[outdated] fix: set shell to False if running subprocess on Windows #1121

Closed
wants to merge 1 commit into from
Closed

[outdated] fix: set shell to False if running subprocess on Windows #1121

wants to merge 1 commit into from

Conversation

my1e5
Copy link

@my1e5 my1e5 commented May 17, 2024

Description

When running a subprocess through run in cmd.py, if the OS is Windows set shell=False.

Closes #1118

Checklist

  • Add test cases to all the changes you introduce
  • Run ./scripts/format and ./scripts/test locally to ensure this change passes linter check and test
  • Test the changes on the local machine manually
  • Update the documentation for the changes

Expected behavior

Running rye run cz bump on a Windows machine in a rye-managed project now works.

@Lee-W
Copy link
Member

Lee-W commented May 19, 2024

May I know why we close this? has the issue been resolved?

@my1e5 my1e5 changed the title fix: set shell to False if running subprocess on Windows [outdated] fix: set shell to False if running subprocess on Windows May 20, 2024
@my1e5
Copy link
Author

my1e5 commented May 20, 2024

There was a typo that failed CI checks. Fixed in #1124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cz bump fails when running with rye
2 participants