mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 04:02:41 +00:00
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:
committed by
Andreas Rumpf
parent
862897dc0f
commit
5661a8303c
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user