Skip to content

Commit 3dbf5b3

Browse files
authored
Merge pull request #1753 from EliahKagan/fds
Let close_fds be True on all platforms
2 parents 7c423b4 + 78d63d9 commit 3dbf5b3

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

git/cmd.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,6 @@ def execute(
10011001
stderr=PIPE,
10021002
stdout=stdout_sink,
10031003
shell=shell,
1004-
close_fds=(os.name == "posix"), # Unsupported on Windows.
10051004
universal_newlines=universal_newlines,
10061005
creationflags=PROC_CREATIONFLAGS,
10071006
**subprocess_kwargs,

git/index/fun.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ def run_commit_hook(name: str, index: "IndexFile", *args: str) -> None:
102102
stdout=subprocess.PIPE,
103103
stderr=subprocess.PIPE,
104104
cwd=index.repo.working_dir,
105-
close_fds=(os.name == "posix"),
106105
creationflags=PROC_CREATIONFLAGS,
107106
)
108107
except Exception as ex:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy