Skip to content

Instantly share code, notes, and snippets.

@zeffii
Created February 18, 2014 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeffii/9069209 to your computer and use it in GitHub Desktop.
Save zeffii/9069209 to your computer and use it in GitHub Desktop.
import bpy
import os
import subprocess
tFile = "C:/Users/dealga/Desktop/opener.coffee"
full_command = ['coffee', tFile]
try:
p = subprocess.Popen(full_command, shell=True, stdout=subprocess.PIPE)
out, err = p.communicate()
print(">>>>>", out)
except:
print('nope')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment