better docs: osproc (#10708)

* better docs: osproc
* fix a typo in the docs, deprecate "demon"
This commit is contained in:
Miran 2019-02-19 17:25:03 +01:00 • committed by Andreas Rumpf
commit 50d1a46537
5 changed files with 164 additions and 71 deletions

View file

@ -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)