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

Commit1ee2afb

Browse files
committed
cmd: By default, on linux, the parent file handles will be closed to leave the child less cluttered, and make it easier to debug as it will only have the file descriptors we set. It appears to be more stable regarding the stdin-is-closed-but-child-doesn't-realize-this issue
1 parentecf37a1 commit1ee2afb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎lib/git/cmd.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ def execute(self, command,
215215
stdin=istream,
216216
stderr=subprocess.PIPE,
217217
stdout=subprocess.PIPE,
218+
close_fds=(os.name=='posix'),# unsupported on linux
218219
**extra
219220
)
220221
ifas_process:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp