Skip to content

Commit e10538f

Browse files
fix windows
1 parent 2c8ecd6 commit e10538f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/asyncio/base_subprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ async def _connect_pipes(self, waiter):
215215
if proto is not None:
216216
proto.pipe.close()
217217
for raw_pipe in (proc.stdin, proc.stdout, proc.stderr):
218-
if raw_pipe is not None and not raw_pipe.closed:
218+
if raw_pipe is not None:
219219
raw_pipe.close()
220220
if waiter is not None and not waiter.cancelled():
221221
waiter.set_exception(exc)

0 commit comments

Comments
 (0)