From Xojo Documentation

Class (inherits from RuntimeException)

You tried to pass a string to a Shell that is not running.

ErrorNumber Message Reason fa-lock-32.png
Stack StackFrames


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.

Sample Code

This example is an Exception block that traps for ShellNotRunningExceptions.

Exception e As ShellNotRunningException
MsgBox("The shell is not running!")

See Also

Shell class.