Message 1 of 3
Python subprocess//cmd//powershell error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm facing a problem when I try to run a batch file from maya's script editor. For example I'm trying to execute renderman tractor-spool.bat but it seems there is difference between opening a cmd terminal directly from windows, and opening a cmd terminal from Maya. (same thing with powershell) Do you now why?
- calling tractor-spool.bat in a cmd window => ask me for a job script. (standard behavior)
- calling tractor-spool.bat from os.system or subprocess => C:\Program Files\Pixar\Tractor-2.3\bin\rmanpy.exe: No module named apps (wrong)
Do you know if the way maya is spawning the cmd or powershell window is different from running cmd (win+R cmd) ?
Thanks