website logo
Home pageWeb storeDistributors
Software
Hardware
Settings
Troubleshooting
Navigate through spaces
⌘K
EdingCNC Documentation
Getting started with your new controller
G-code
Language standard
Supported G-code
Supported M-codes
Other input codes
Special commands
Special features
Macro programming
Run behavior during loading of job file and simulation
Software installation
Interface
Keyboard shortcuts
Docs powered by archbee 

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 variable #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.

PREVIOUS
HomeIsEStop
NEXT
SetAcc
Docs powered by archbee 
TABLE OF CONTENTS
Example