Hi there.

Does anyone know a good way to catch output in shell(linux
environment) to a string in Maya?

import os
cmd = 'myCommand file'
os.system(cmd) # this spits out results in shell
I want to catch this this results to a string inside maya for some
use.

thank you.
D

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to