- Run CMD code.
- cmdCode : string
- Its first result is true if the command terminated successfully, or nil otherwise.
- The second return value are as follows :
- "exit": the command terminated normally; the following number is the exit status of the command.
- "signal": the command was terminated by a signal; the following number is the signal that terminated the command.
Sample code :
pw.cmd("echo Hello PixelsWorld! & Pause ")
NOTE : NEVER use commands like
readon Mac OS. It will block the render thread and never render again. If you are blocked, delete the
readcommand, save your project, close the Ae forcedly, then re-open.