Documentation/4.0/Developers/Launcher

From Slicer Wiki
Revision as of 07:46, 5 January 2012 by Finetjul (talk | contribs) (Created page with '{{documentation/underconstruction}} The Slicer3 launcher has been ported to Qt in Slicer4. <pre> Usage Slicer [options] Options --launcher-help …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home < Documentation < 4.0 < Developers < Launcher


The Slicer3 launcher has been ported to Qt in Slicer4.

Usage
  Slicer [options]

Options
  --launcher-help                Display help
  --launcher-verbose             Verbose mode
  --launch                       Specify the application to launch
  --launcher-detach              Launcher will NOT wait for the application to finish
  --launcher-no-splash           Hide launcher splash
  --launcher-timeout             Specify the time in second before the launcher kills the application. -1 means no timeout (default: -1)
  --launcher-generate-template   Generate an example of setting file
  --designer                     Start Qt designer using Slicer plugins
  --xterm                        Start xterm
  --gdb                          Start gdb
  --, --ignore-rest                     Ignores the rest of the labeled arguments following this flag. (default: false)
  -h, --help                            Display available command line arguments.
  --disable-python                      Disable python support. This is equivalent to build the application with Slicer_USE_PYTHONQT=OFF.
  --python-script                       Python script to execute after slicer loads.
  --python-code                         Python code to execute after slicer loads.
  --ignore-slicerrc                     Do not load the Slicer resource file (~/.slicerrc.py).
  --disable-cli-modules                 Disables the loading of Command Line Modules.
  --disable-loadable-modules            Disables the loading of Loadable Modules.
  --disable-scripted-loadable-modules   Disables the loading of Scripted Loadable Modules.
  --version                             Displays version information and exits.
  --program-path                        Displays application program path and exits.
  --home                                Displays home path and exits.
  --settings-path                       Displays settings path and exits.
  --verbose-module-discovery            Enable verbose output during module discovery process.
  --disable-settings                    Start application ignoring user settings.
  --disable-message-handlers            Start application disabling the 'terminal' message handlers.
  --disable-tooltips                    Disables toolstips in the user interface.
  --no-splash                           Disables the startup splash screen.
  --no-main-window                      Disables display of the main slicer window.  Use with --python-script for alternate interface
  --show-python-interactor              Show Python interactor at startup.

Developers

The launcher is part of the CTK effort.

Source code

https://github.com/commontk/AppLauncher

Builds

AppLauncher built statically with Qt on Windows, Linux and MacOsX: https://github.com/commontk/AppLauncher/downloads