Skip to content

Instantly share code, notes, and snippets.

@mhemrg
Created April 14, 2020 05:58
Show Gist options
  • Save mhemrg/6fe281be5f49097c5c9705681ef1c2a8 to your computer and use it in GitHub Desktop.
Save mhemrg/6fe281be5f49097c5c9705681ef1c2a8 to your computer and use it in GitHub Desktop.
proc = subprocess.Popen(['python3', 'manage.py', 'process_tasks'],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment