Product Launcher
From IRIDAS Online Documentation
Overview
The IRIDAS product launcher is installed with every supported application (FrameCycler and SpeedGrade). You can use it instead of the actual product executable to launch the application with a command line. If the product is already running, the command line is sent to the already running instance instead of launching a second instance. This ensures that only one instance of the product is running when launching it from the command line.
How it works
In the bin folder of your installed application is an executable file with the name (on Windows) [Productname]Cmd.exe, so for SpeedGraderDI it would be SpeedGradeDICmd.exe.
This executable uses the IRIDAS Remoting Interface to pass the command line into the already running application. If it isn't running it just launches the application, with the command line.
Let's see what that means in practice. Let say, you want to launch FrameCycler with a frame sequence. So you start FrameCyclerProCmd.exe with the frame sequence as parameter. FrameCyclerProCmd.exe checks if FrameCycler is already running. If it is not running, it just launches FrameCycler with the frame sequence you supplied as a parameter. So the behaviour is identical to what would happen if you launched FrameCyclerPro.exe with the frame sequence as parameter.
What happens when FrameCycler is already running?
FrameCyclerCmd.exe attempts to connect to the instance of FrameCycler using IRI.
- When the IRI connection is created, FrameCyclerCmd.exe sends a command over IRI, which contains the command line that it was launched with
- FrameCycler accepts the command and interprets the command line, just as it would during startup
- The frame sequence plays in the existing instance of FrameCycler instead of a newly started one
Note: You have to have IRI enabled for this to work. The default setting for IRI is enabled for local connection - so unless you have disabled it altogether, it will run out of the box.
For more information about the IRIDAS Remoting Interface (IRI), click here.
