mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
better way to test/set cygwin proc setting
This commit is contained in:
parent
067393073f
commit
4a1a77862e
2 changed files with 2 additions and 3 deletions
|
@ -1304,7 +1304,7 @@ def DEFAULT_VARS():
|
|||
is_bool_or_none,
|
||||
to_bool_or_none,
|
||||
bool_or_none_to_str,
|
||||
True,
|
||||
True if not ON_CYGWIN else False,
|
||||
"Whether or not to try to run subrocess mode in a Python thread, "
|
||||
"when applicable. There are various trade-offs, which normally "
|
||||
"affects only interactive sessions.\n\nWhen True:\n\n"
|
||||
|
|
|
@ -2033,8 +2033,7 @@ class CommandPipeline:
|
|||
# read from process now that it is over
|
||||
yield from safe_readlines(stdout)
|
||||
self.stream_stderr(safe_readlines(stderr))
|
||||
if not ON_CYGWIN:
|
||||
proc.wait()
|
||||
proc.wait()
|
||||
self._endtime()
|
||||
yield from safe_readlines(stdout)
|
||||
self.stream_stderr(safe_readlines(stderr))
|
||||
|
|
Loading…
Add table
Reference in a new issue