Movatterモバイル変換


[0]ホーム

URL:


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

Commit3f277ba

Browse files
committed
Avoid spawning console windows when running from .pyw
By adding `shell=True,` to the list of Popen parameters, we avoid spawning console windows when scripts call this method from a windowless (.pyw) Python script.
1 parent0b820e6 commit3f277ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎git/cmd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ def execute(self, command,
336336
stderr=PIPE,
337337
stdout=PIPE,
338338
close_fds=(os.name=='posix'),# unsupported on linux
339+
shell=True,
339340
**subprocess_kwargs
340341
)
341342
ifas_process:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp