<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.10%2FDevelopers%2FLauncher</id>
	<title>Documentation/4.10/Developers/Launcher - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.10%2FDevelopers%2FLauncher"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Developers/Launcher&amp;action=history"/>
	<updated>2026-04-14T02:59:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.10/Developers/Launcher&amp;diff=59747&amp;oldid=prev</id>
		<title>UpdateBot: Nightly -&gt; 4.10</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.10/Developers/Launcher&amp;diff=59747&amp;oldid=prev"/>
		<updated>2018-10-19T00:43:26Z</updated>

		<summary type="html">&lt;p&gt;Nightly -&amp;gt; 4.10&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{documentation/versioncheck}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{documentation/underconstruction}}&lt;br /&gt;
The [[Slicer3:Launcher|Slicer3 launcher]] has been ported to Qt in Slicer4.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Usage&lt;br /&gt;
  Slicer [options]&lt;br /&gt;
&lt;br /&gt;
  --launcher-help                              Display help&lt;br /&gt;
  --launcher-version                           Show launcher version information&lt;br /&gt;
  --launcher-verbose                           Verbose mode&lt;br /&gt;
  --launch                                     Specify the application to launch&lt;br /&gt;
  --launcher-detach                            Launcher will NOT wait for the application to finish&lt;br /&gt;
  --launcher-no-splash                         Hide launcher splash&lt;br /&gt;
  --launcher-timeout                           Specify the time in second before the launcher kills the application. -1 means no timeout (default: -1)&lt;br /&gt;
  --launcher-load-environment                  Specify the saved environment to load.&lt;br /&gt;
  --launcher-dump-environment                  Launcher will print environment variables to be set, then exit&lt;br /&gt;
  --launcher-show-set-environment-commands     Launcher will print commands suitable for setting the parent environment (i.e. using 'eval' in a POSIX shell), then exit&lt;br /&gt;
  --launcher-additional-settings               Additional settings file to consider&lt;br /&gt;
  --launcher-ignore-user-additional-settings   Ignore additional user settings&lt;br /&gt;
  --launcher-generate-exec-wrapper-script      Generate executable wrapper script allowing to set the environment&lt;br /&gt;
  --launcher-generate-template                 Generate an example of setting file&lt;br /&gt;
  --cmd                                        Start cmd&lt;br /&gt;
&lt;br /&gt;
  --, --ignore-rest                             Ignores the rest of the labeled arguments following this flag. (default: false)&lt;br /&gt;
  -h, --help                                    Display available command line arguments.&lt;br /&gt;
  --testing                                     Activate testing mode. It implies --disable-settings and --ignore-slicerrc. (default: false)&lt;br /&gt;
  --disable-python                              Disable python support. This is equivalent to build the application with Slicer_USE_PYTHONQT=OFF.&lt;br /&gt;
  --python-script                               Python script to execute after slicer loads.&lt;br /&gt;
  --python-code                                 Python code to execute after slicer loads.&lt;br /&gt;
  -c                                            Python code to execute after slicer loads. By default, no modules are loaded and Slicer exits afterward.&lt;br /&gt;
  --ignore-slicerrc                             Do not load the Slicer resource file (~/.slicerrc.py).&lt;br /&gt;
  --additional-module-path                      Additional module path to consider when searching for modules to load.&lt;br /&gt;
  --additional-module-paths                     List of additional module path to consider when searching for modules to load.&lt;br /&gt;
  --modules-to-ignore                           Comma separated list of modules that should *NOT* be loaded.&lt;br /&gt;
  --disable-modules                             Disable the loading of any Modules.&lt;br /&gt;
  --disable-builtin-modules                     Disable the loading of builtin Modules.&lt;br /&gt;
  --disable-cli-modules                         Disable the loading of any Command Line Modules.&lt;br /&gt;
  --disable-builtin-cli-modules                 Disable the loading of builtin Command Line Modules.&lt;br /&gt;
  --disable-loadable-modules                    Disable the loading of any Loadable Modules.&lt;br /&gt;
  --disable-builtin-loadable-modules            Disable the loading of builtin Loadable Modules.&lt;br /&gt;
  --disable-scripted-loadable-modules           Disable the loading of any Scripted Loadable Modules.&lt;br /&gt;
  --disable-builtin-scripted-loadable-modules   Disable the loading of builtinScripted Loadable Modules.&lt;br /&gt;
  --version                                     Display version information and exits.&lt;br /&gt;
  --program-path                                Display application program path and exits.&lt;br /&gt;
  --home                                        Display home path and exits.&lt;br /&gt;
  --settings-path                               Display settings path and exits.&lt;br /&gt;
  --temporary-path                              Display temporary path and exits.&lt;br /&gt;
  --application-information                     Display application information in the terminal.&lt;br /&gt;
  --verbose-module-discovery                    Enable verbose output during module discovery process.&lt;br /&gt;
  --disable-settings                            Start application ignoring user settings and using new temporary settings.&lt;br /&gt;
  --keep-temporary-settings                     Indicate whether temporary settings should be maintained.&lt;br /&gt;
  --disable-message-handlers                    Start application disabling the 'terminal' message handlers.&lt;br /&gt;
  --disable-tooltips                            Disable toolstips in the user interface.&lt;br /&gt;
  --no-splash                                   Disable the startup splash screen.&lt;br /&gt;
  --no-main-window                              Disable display of the main slicer window.  Use with --python-script for alternate interface&lt;br /&gt;
  --show-python-interactor                      Show Python interactor at startup.&lt;br /&gt;
  --qt-testing                                  Enable QtTesting in the user interface&lt;br /&gt;
  --exit-after-startup                          Exit after startup is complete. Useful for measuring startup time&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
;--launch &amp;lt;executable&amp;gt; [parameters]&lt;br /&gt;
:specify the full path of the executable. Use &amp;lt;code&amp;gt;which ''executable''&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;locate ''executable''&amp;lt;/code&amp;gt; to find the full path of an executable.&lt;br /&gt;
:''parameters'' is passed to the executable&lt;br /&gt;
 &lt;br /&gt;
== Examples ==&lt;br /&gt;
 .\Slicer.exe --launch &amp;quot;C:\Program Files (x86)\depends22_x86\depends.exe&amp;quot; bin\Debug\MRMLCore.dll&lt;br /&gt;
Starts the dependency walker with the MRMLCore.dll library.&lt;br /&gt;
&lt;br /&gt;
= Developers =&lt;br /&gt;
The executable Slicer application is: ''Slicer-Superbuild/Slicer-build/Slicer'' (or ''Slicer.exe'')&lt;br /&gt;
&lt;br /&gt;
''Slicer'' is actually a wrapper created using the [http://www.commontk.org/index.php/Tools:_Application_launcher CTK AppLauncher]. The wrapper exists to set library and environment paths before launching the real application binary in ''Slicer-Superbuild/Slicer-build/bin/SlicerQT-real'' (or ''SlicerQT-real.exe'')&lt;br /&gt;
*The wrapper is configured in ''[http://viewvc.slicer.org/viewvc.cgi/Slicer4/trunk/Applications/SlicerQT/CMakeLists.txt?view=markup Slicer4/Applications/QTGUI/CMakeLists.txt]'' under the heading &amp;quot;Configure Slicer Launcher&amp;quot;&lt;br /&gt;
*The launcher configuration is put here: ''Slicer-build/SlicerLauncherSettings.ini''&lt;br /&gt;
&lt;br /&gt;
The launcher is part of the [http://www.commontk.org CTK] effort.&lt;br /&gt;
&lt;br /&gt;
== Source code ==&lt;br /&gt;
The AppLauncher source code is here:  https://github.com/commontk/AppLauncher&lt;br /&gt;
&lt;br /&gt;
== Builds ==&lt;br /&gt;
AppLauncher is built statically with Qt on Windows, Linux and MacOsX:&lt;br /&gt;
https://github.com/commontk/AppLauncher/downloads&lt;/div&gt;</summary>
		<author><name>UpdateBot</name></author>
		
	</entry>
</feed>