mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +00:00
try to work-around bugs in the Popen hotfix
This commit is contained in:
parent
a21b66e775
commit
18de71666f
@ -110,7 +110,10 @@ class GetArgvTests(SyncTestCase):
|
|||||||
from ._win_subprocess import (
|
from ._win_subprocess import (
|
||||||
Popen
|
Popen
|
||||||
)
|
)
|
||||||
returncode = Popen([executable, save_argv_path.path] + argv).wait()
|
from subprocess import (
|
||||||
|
PIPE,
|
||||||
|
)
|
||||||
|
returncode = Popen([executable, save_argv_path.path] + argv, stdin=PIPE, stdout=PIPE, stderr=PIPE).wait()
|
||||||
self.assertThat(
|
self.assertThat(
|
||||||
0,
|
0,
|
||||||
Equals(returncode),
|
Equals(returncode),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user