From Xojo Documentation
You tried to pass a string to a Shell that is not running.
The ShellNotRunningException error will occur if you try to pass a string for the Shell to execute but it is not running. This can happen if you are using the Shell interactively and it has been closed prior to passing the string.
This example is an Exception block that traps for ShellNotRunningExceptions.