Is it possible to return a value from an external command? I will write the external command, so it could do anything, such as output a string to stdout. Specifically, I want the external command to parse the g-code of the current job, looking for specially formatted comments. If they are in the g-code, then certain GPIO pins would be enabled turning on a relay for that job, and turned off at its end.