Skip to content

Instantly share code, notes, and snippets.

@offby1
Created June 7, 2015 23:24
Show Gist options
  • Select an option

  • Save offby1/57e79a459907a712b203 to your computer and use it in GitHub Desktop.

Select an option

Save offby1/57e79a459907a712b203 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
from __future__ import print_function
import subprocess
output = subprocess.check_output(['/bin/echo', 'it', 'does', 'too', 'work'])
print(output)
@offby1
Copy link
Copy Markdown
Author

offby1 commented Jun 7, 2015

python wat.py
it does too work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment