Greetings,

>    cmd1 = "/usr/local/bin/matlab  ...  myMatlab.1.m"
>    subprocess.Popen([cmd1], shell=True, 
> stdout=subprocess.PIPE).communicate()[0]
Try a list of arguments as the command to run.
subprocess.Popen(["/usr/local/bin/matlab", ... "myMatlab.l.m"] ...)

If you can switch to 2.7, you'll be to use check_output 
(http://docs.python.org/library/subprocess.html#subprocess.check_output)

HTH
--
Miki Tebeka <miki.teb...@gmail.com>
http://pythonwise.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to