Skip to content

Commit f4653c8

Browse files
authored
Doc: User Defined Command, add note on exit codes != 0
1 parent 27dca77 commit f4653c8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/src/gcode/m-code.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,8 @@ parameter of the INI file) is executed with the optional P and Q values
696696
as its two arguments.
697697

698698
Execution of the G-code file pauses until the external program exits.
699+
If the external program exits with exit code other than '0' gcode program exection is
700+
stopped.
699701
Any valid executable file can be used. The file must be located in the search
700702
path specified in the INI file configuration.
701703
See the <<sub:ini:sec:display,Display>> section for more information on search paths.

0 commit comments

Comments
 (0)