diff --git a/docs/src/gcode/m-code.adoc b/docs/src/gcode/m-code.adoc index 1f020ebda09..50bcc9ce806 100644 --- a/docs/src/gcode/m-code.adoc +++ b/docs/src/gcode/m-code.adoc @@ -696,6 +696,8 @@ parameter of the INI file) is executed with the optional P and Q values as its two arguments. Execution of the G-code file pauses until the external program exits. +If the external program exits with exit code other than '0' gcode program exection is +stopped. Any valid executable file can be used. The file must be located in the search path specified in the INI file configuration. See the <> section for more information on search paths.