G-code
Special commands
Exec
2min
starts an external program within the job/macro and waits until the program exits the return value of the program is stored in variables docid\ oqhjs3llcfqksac cemc2 #5399 exec "\<program path>" "\<command line parameter>" \<timeout\[ms]> the maximum wait time is 10 minutes example exec "notepad exe" "hello txt" 6000 this executes notepad exe and waits 1 minute for it to exit an error is generated if it does not exit within the specified time