Skip to main content

Close command session

End a command session: optionally ask the program to exit, then stop it and every program it started.

Command in the Application toolkit · id ooa.application/close_session · 3 inputs, 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
SessionStringNocmdName of the command session, from Open command session.
Send exitBooleanNotrueSend the line exit first, so the program can end by itself.
Wait (seconds)NumberNo5How long to wait for it to end by itself before it is stopped.

Outputs​

OutputTypeWhat it is
exit_codeNumberThe program's exit code (1 when it had to be stopped).