Skip to content

Instantly share code, notes, and snippets.

@geoffkoh
Created January 26, 2020 06:50
Show Gist options
  • Save geoffkoh/1feb9d9acf2eb7c7951892e5f75a4211 to your computer and use it in GitHub Desktop.
Save geoffkoh/1feb9d9acf2eb7c7951892e5f75a4211 to your computer and use it in GitHub Desktop.
local = ExecutorFactory.create_executor('local')
out, err = local.run('ls -ltra')
print(out)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment