New submission from haizaar :
Consider the following:
subprocess.run('sleep 10', shell=True, timeout=.1, capture_output=True)
It should raise after 0.1 seconds, but it does not - it waits 10 seconds till
sleep finishes and only then raises "subprocess.TimeoutExpired: Com
haizaar added the comment:
Thanks for looking at it.
My original code had "tar" running, which is a child of the shell as well... I
assume running exec in the shell may help somewhat, but not a cure obviously.
I'm all for killing the process group. "Run something and get
Change by haizaar :
--
nosy: +haizaar
___
Python tracker
<https://bugs.python.org/issue26534>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by haizaar :
--
nosy: +haizaar
___
Python tracker
<https://bugs.python.org/issue30154>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by haizaar :
--
nosy: +haizaar
___
Python tracker
<https://bugs.python.org/issue5115>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth