commontk / AppLauncher

Simple and small program allowing to set the environment of any executable.
http://www.commontk.org
Apache License 2.0
31 stars 32 forks source link

Refactor to support integrating launcher argument parsing logic directly in main application #122

Open jcfr opened 3 years ago

jcfr commented 3 years ago

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: