# Slicer 5: Disable loading modules from command line

**URL:** <https://discourse.slicer.org/t/slicer-5-disable-loading-modules-from-command-line/24156>\
**Category:** Development\
**Created:** [July 2, 2022, 5:00pm UTC](https://discourse.slicer.org/t/slicer-5-disable-loading-modules-from-command-line/24156 "2022-07-02T17:00:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![keri](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/keri/32/11618_2.png) [@keri](https://discourse.slicer.org/u/keri)\
**Post date:** [July 2, 2022, 5:00pm UTC](https://discourse.slicer.org/t/slicer-5-disable-loading-modules-from-command-line/24156/1 "2022-07-02T17:00:11Z")

</div>

Hi,

I remember in Slicer 4 it was possible to disable loading modules when launching from command line:

```auto
./Slicer --modules-to-ignore Volumes

```

I use SlicerCAT based on Slicer 5 and there no such option anymore.  
All I can see when invoking `help`:

```auto
./Colada --help
Usage
  Colada [options]

Options
  --launcher-help Display help
  --launcher-version Show launcher version information
  --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-load-environment Specify the saved environment to load.
  --launcher-dump-environment Launcher will print environment variables to be set, then exit
  --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
  --launcher-additional-settings Additional settings file to consider
  --launcher-additional-settings-exclude-groups Comma separated list of settings groups that should NOT be overwritten by values in User and Additional settings. For example: General,Application,ExtraApplicationToLaunch
  --launcher-ignore-user-additional-settings Ignore additional user settings
  --launcher-generate-exec-wrapper-script Generate executable wrapper script allowing to set the environment
  --launcher-generate-template Generate an example of setting file
  --VisualStudio Open Visual Studio with Slicer's DLL paths set up
  --VisualStudioProject Open Visual Studio Slicer project with Slicer's DLL paths set up
  --cmd Start cmd
  --designer Start Qt designer using Slicer plugins
error: [C:/C/r/Slicer-build/bin/Release/ColadaApp-real.exe] exit abnormally - Report the problem.

```

As you can see I also get error `exit abnormally - Report the problem.`  
Is it my customization is to blame or is it Slicer 5?

---

<div class="post-metadata">

**Author:** ![keri](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/keri/32/11618_2.png) [@keri](https://discourse.slicer.org/u/keri)\
**Post date:** [April 15, 2023, 9:39pm UTC](https://discourse.slicer.org/t/slicer-5-disable-loading-modules-from-command-line/24156/2 "2023-04-15T21:39:54Z")

</div>

For the future references: as mentioned in the [docs](https://slicer.readthedocs.io/en/5.2/user_guide/settings.html#user-specific-settings) on Windows the correct command should be:

```auto
./Slicer.exe --help | more

```

Didn’t know that…
