Skip to content

Instantly share code, notes, and snippets.

@hakanderyal
Created April 28, 2015 08:50
Show Gist options
  • Save hakanderyal/618364b6f765f3a96abf to your computer and use it in GitHub Desktop.
Save hakanderyal/618364b6f765f3a96abf to your computer and use it in GitHub Desktop.
import osproc
var output_tuple = execCmdEx("ls")
echo("Output is ", output_tuple[0])
echo("Exit code is ", output_tuple[1])
echo("Completed")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment