title: How can I run a program in msys through Python?
body: <p>I've got a short python script that will eventually edit an input file, run an executable on that input file and read the output from the executable. The problem is, I've compiled the executable through msys, and can only seem to run it from the msys window. I'm wondering if the easiest way to do this is to somehow use os.command in Python to run msys and pipe a command in, or run a script through msys, but I haven't found a way to do this.</p>
  
  <p>Has anyone tried this before? How would you pipe a command into msys? Or is there a smarter way to do this that I haven't thought of?</p>
  
  <p>Thanks in advance!</p>
  
  <p>EDIT: Just realized that this information might help, haha . . . . I'm running Windows, msys 1.0 and Python 2.7</p>