I have the following Python code in one of the python otl which runs ok in windows and linux but not in Mac OS 10.6.6:
# Create the OCONV command string
command = ‘oconv’ + ‘ ’ + ‘plastic_mat_file + ’ ‘ + environ_file + ’ ‘ + geom_file + ’ ‘ + ’>' + ‘ ’ + oct_file
# Execute the command
os.system(command)
My houdini is 11.0.658 which uses Python 2.6.1 whereas my Mac OS installed a Python 2.6.5.
Is the different version of Python causing the problem?
or has os.system() module has been replaced by other module in Python 2.6.5?
Thanks!