Add workingDir parameter to execProcess and test (#9549)

* Add workingDir parameter to execProcess
* Fix tests/stdlib/tosproc.nim compile error
* Suppress output from tosproc.nim
This commit is contained in:
Tomohiro 2018-11-26 18:28:44 +09:00 • committed by Andreas Rumpf
commit 3a3ff76526
3 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,8 @@
# This is test program for the osproc module.
import os
echo getCurrentDir()
for i in 1..paramCount():
echo paramStr(i)