Skip to content

Instantly share code, notes, and snippets.

@EdoardoVignati
Last active October 4, 2019 13:47
Show Gist options
  • Save EdoardoVignati/c8235add91e5799de93d43a0a109de07 to your computer and use it in GitHub Desktop.
Save EdoardoVignati/c8235add91e5799de93d43a0a109de07 to your computer and use it in GitHub Desktop.
Simple Python subprocess
import subprocess
bashCommand="mypipeline"
process=subprocess.Popen(bashCommand, shell=True, executable="/bin/bash")
process.kill()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment