CLI start 3d slicer with specific module loaded

Hey,
I am trying to start 3D Slicer from another script via CLI. the slicer instance should be windowed and startup w/ specific module showing, instead of the ‘welcome’ UI. Is this possible?

Thanks!

You can easily do this by passing the appropriate Python commands using --python-code argument. See examples in the script repository. You can set the window size and position using standard Qt commands and switch module using selectModule() function.