Update for Nim 1.0.6

This commit is contained in:
Joey Yakimowich-Payne 2020-02-14 06:41:09 -07:00 • committed by Andreas Rumpf
commit f93bd87316
12 changed files with 33 additions and 42 deletions

View file

@ -45,7 +45,7 @@ template withBackend(body: untyped): untyped =
import browsertests/[scenario1, threads, issue181]
when isMainModule:
proc main() =
spawn runProcess("geckodriver -p 4444 --log config")
defer:
discard execCmd("killall geckodriver")
@ -70,3 +70,6 @@ when isMainModule:
except:
sleep(10000) # See if we can grab any more output.
raise
when isMainModule:
main()