better docs: osproc (#10708)
* better docs: osproc * fix a typo in the docs, deprecate "demon"
This commit is contained in:
parent
e4a76c6ebf
commit
50d1a46537
5 changed files with 164 additions and 71 deletions
|
|
@ -80,7 +80,7 @@ proc vccVarsAll*(path: string, arch: VccArch = vccarchUnspecified, platform_type
|
|||
# Execute vcvarsall with its command-line arguments
|
||||
# and then execute the SET command to list all environment variables
|
||||
let comSpecExec = "\"$1\" /C \"$2 && SET\"" % [comSpecCmd, vcvarsExec]
|
||||
var comSpecOpts = {poEvalCommand, poDemon, poStdErrToStdOut}
|
||||
var comSpecOpts = {poEvalCommand, poDaemon, poStdErrToStdOut}
|
||||
if verbose:
|
||||
comSpecOpts.incl poEchoCmd
|
||||
let comSpecOut = execProcess(comSpecExec, options = comSpecOpts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue