Commit e25df83d authored by Denis Bilenko's avatar Denis Bilenko

add test__subprocess_poll.py

parent 592b71cc
import sys
from gevent.subprocess import Popen
from util import alarm
alarm(1)
popen = Popen([sys.executable, '-c', 'pass'])
while popen.poll() is None:
pass
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment