How to use executeCommandLine

The only thing I think it’s worth adding is that without passing a Duration as the first argument, the command is “fire-and-forget”. You will receive no results from the command and the rule will not wait for the command to exit before continuing. I believe there is a timeout so the command will eventually exit but it will be long after the rule exits.

If you do pass the Duration as the first argument, executeCommandLine will block and wait for the command to complete up to the amount of time defined by the Duration and return whatever the command output to stdout/stderr (are those even a thing in Windows? :thinking: ) as a String.