From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Class (inherits from RuntimeException)

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

ErrorNumber Message
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.