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:
parent
3f3aee4078
commit
3a3ff76526
3 changed files with 35 additions and 1 deletions
8
tests/stdlib/osproctest.nim
Normal file
8
tests/stdlib/osproctest.nim
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue