<?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.8%2FDevelopers%2FLauncher</id>
	<title>Documentation/4.8/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.8%2FDevelopers%2FLauncher"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Developers/Launcher&amp;action=history"/>
	<updated>2026-04-04T19:54:08Z</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.8/Developers/Launcher&amp;diff=55392&amp;oldid=prev</id>
		<title>UpdateBot: Nightly -&gt; 4.8</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.8/Developers/Launcher&amp;diff=55392&amp;oldid=prev"/>
		<updated>2017-10-18T07:03:43Z</updated>

		<summary type="html">&lt;p&gt;Nightly -&amp;gt; 4.8&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;
Options&lt;br /&gt;
  --launcher-help                Display help&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-generate-template   Generate an example of setting file&lt;br /&gt;
  --designer                     Start Qt designer using Slicer plugins&lt;br /&gt;
  --xterm                        Start xterm&lt;br /&gt;
  --gdb                          Start gdb&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;
  --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;
  --ignore-slicerrc                     Do not load the Slicer resource file (~/.slicerrc.py).&lt;br /&gt;
  --disable-cli-modules                 Disables the loading of Command Line Modules.&lt;br /&gt;
  --disable-loadable-modules            Disables the loading of Loadable Modules.&lt;br /&gt;
  --disable-scripted-loadable-modules   Disables the loading of Scripted Loadable Modules.&lt;br /&gt;
  --version                             Displays version information and exits.&lt;br /&gt;
  --program-path                        Displays application program path and exits.&lt;br /&gt;
  --home                                Displays home path and exits.&lt;br /&gt;
  --settings-path                       Displays settings path and exits.&lt;br /&gt;
  --verbose-module-discovery            Enable verbose output during module discovery process.&lt;br /&gt;
  --disable-settings                    Start application ignoring user settings.&lt;br /&gt;
  --disable-message-handlers            Start application disabling the 'terminal' message handlers.&lt;br /&gt;
  --disable-tooltips                    Disables toolstips in the user interface.&lt;br /&gt;
  --no-splash                           Disables the startup splash screen.&lt;br /&gt;
  --no-main-window                      Disables 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;
&amp;lt;/pre&amp;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>