[#97] Probe fix for filedescriptor issue
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
2c2af7f8ed
commit
98f9c78f09
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class LocalShell(Shell):
|
|||
log_file = tempfile.TemporaryFile() # File is reliable cross-platform way to capture output
|
||||
|
||||
try:
|
||||
command_process = pexpect.spawn(command, timeout=options.timeout)
|
||||
command_process = pexpect.spawn(command, timeout=options.timeout, use_poll=True)
|
||||
except (pexpect.ExceptionPexpect, OSError) as exc:
|
||||
raise RuntimeError(f"Command: {command}") from exc
|
||||
|
||||
|
|
Loading…
Reference in a new issue