make sure first call to running() after process exit returns false
This commit is contained in:
parent
b453a8e616
commit
95188edf6f
2 changed files with 15 additions and 4 deletions
|
|
@ -16,3 +16,8 @@ var running = true
|
|||
while running:
|
||||
running = running(p)
|
||||
doAssert(waitForExit(p) == QuitFailure)
|
||||
|
||||
# make sure that first call to running() after process exit returns false
|
||||
p = startProcess(filename, dir)
|
||||
os.sleep(500)
|
||||
doAssert(not running(p))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue