correct argument name, (#10813)
* correct argument name, updated using poUsePath, based on feedback from c-blake * Update osproc.nim * explicit args parameter
This commit is contained in:
parent
862897dc0f
commit
5661a8303c
1 changed files with 2 additions and 1 deletions
|
|
@ -97,7 +97,8 @@ proc execProcess*(command: string,
|
|||
## Example:
|
||||
##
|
||||
## .. code-block:: Nim
|
||||
## let outp = execProcess("nim c -r mytestfile.nim")
|
||||
## let outp = execProcess("nim", args=["c", "-r", "mytestfile.nim"], options={poUsePath})
|
||||
## let outp_shell = execProcess("nim c -r mytestfile.nim")
|
||||
## # Note: outp may have an interleave of text from the nim compile
|
||||
## # and any output from mytestfile when it runs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue