Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get ERRORLEVEL from mel script system call?

0 REPLIES 0
Reply
Message 1 of 1
bobSXB8T
231 Views, 0 Replies

Get ERRORLEVEL from mel script system call?

If I use system to call a batch file from a mel script, is there any way to get the ERRORLEVEL returned by that batch file?  The system call looks like it returns all the output from the script, which is not what I want.  I tried using 'setx' in the batch file to set an environment variable to the value of the error level (already a hack) but that did not work either.  Surely there is a way to pass errors back from a system call command?

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report