commandbox.system.modules_app.system-commands.commands

Class quit

lucee.Component
    extended by commandbox.system.modules_app.system-commands.commands.quit

Exits out of the shell. If the CommandBox binary was executed directly, the shell will close. If the CommandBox binary was run from your OS's native shell, you will be returned there. . {code:bash} exit {code} . You can exit the shell with a specific exit code like this: . {code:bash} exit 1 {code} . Please note, any embedded servers started during your session will continue to run as they are in a separate process. Use the icon in your OS's command tray to interact with the servers, or start CommandBox back up at a later time and "cd" to the root folder of the server.

Class Attributes:
  • aliases : exit,q,e
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Method Summary
    any run([any exitCode='0'])
     
    Methods inherited from class lucee.Component
    None

    Method Detail

    run

    public any run([any exitCode='0'])

    Parameters:
    exitCode - The exitCode for the box process to return