Skip to content

Instantly share code, notes, and snippets.

@andreaferretti
Created February 10, 2017 17:36
Show Gist options
  • Save andreaferretti/e888b754d5ca55a64cd501a932dea1fe to your computer and use it in GitHub Desktop.
Save andreaferretti/e888b754d5ca55a64cd501a932dea1fe to your computer and use it in GitHub Desktop.
Nimble fix
var exitCode = 0
if showOutput:
exitCode = execCmd(cmd)
else:
let (output, ec) = execCmdEx(cmd)
exitCode = ec
displayDebug("Finished", "with exit code " & $exitCode)
displayDebug("Output", output)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment