There are two approaches:

  * Either use `spawn` and essentially watch the process in a separate thread, 
or...
  * Use `asyncproc` from the `asynctools` package 
(<https://github.com/cheatfate/asynctools/blob/master/asynctools/asyncproc.nim>)
 and watch the process asynchronously.



I use the latter for my tester in httpbeast: 
<https://github.com/dom96/httpbeast/blob/master/tests/tester.nim>

Reply via email to