website logo
Home pageWeb storeDistributors
Software
Hardware
Settings
Troubleshooting
Navigate through spaces
⌘K
EdingCNC Documentation
Software installation
G-code
Language standard
Supported G-code
Supported M-codes
Other input codes
Special commands
Special features
Macro programming
Macro programming
Untitled doc
Untitled doc
Untitled doc
Run behavior during loading of job file and simulation
M Function override and user M-functions
Features
Master-slave / Tandem axis operation
Oil pump
Interface
Keyboard shortcuts
Release notes
Docs powered by
Archbee
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 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
Docs powered by
Archbee