Is your feature request related to a problem? Please describe.
After installing Slicer on macOS, there are no --launch argument available.
This is explained by the fact macOS package do not provide a launcher.
Describe the solution you'd like
Since CTKAppLauncherLib is already linked into the application to support setting of the environment variables by loading settings files, the logic responsible to parse argument could be associated with the library to be reusable in the main application.
Describe alternatives you've considered
Suggest Slicer users alternative way of launcher processes.
References:
Is your feature request related to a problem? Please describe.
After installing Slicer on macOS, there are no
--launchargument available.This is explained by the fact macOS package do not provide a launcher.
Describe the solution you'd like
Since
CTKAppLauncherLibis already linked into the application to support setting of the environment variables by loading settings files, the logic responsible to parse argument could be associated with the library to be reusable in the main application.Describe alternatives you've considered
Suggest Slicer users alternative way of launcher processes.
References:
AppLauncher/Base/CMakeLists.txt
Lines 17 to 25 in 1367de4