Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c955f2e

Browse files
my1e5AdrianDC
authored andcommitted
fix: set shell to False if running subprocess on Windows
1 parent 1847e1d commit c955f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎commitizen/cmd.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def run(cmd: str, env=None) -> Command:
3333
env = {**os.environ, **env}
3434
process = subprocess.Popen(
3535
cmd,
36-
shell=True,
36+
shell=Falseifos.name=="nt"elseTrue,
3737
stdout=subprocess.PIPE,
3838
stderr=subprocess.PIPE,
3939
stdin=subprocess.PIPE,

0 commit comments

Comments
(0)

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