Title | | » | Fix SkylineRunner to support multiple instances running at the same time |
Assigned To | | » | Brendan MacLean |
Type | | » | Defect |
Area | | » | Skyline |
Priority | | » | 3 |
Milestone | | » | 2.1 |
SkylineRunner currently communicates with its UI-less instance of Skyline through named pipes, using only one the names "SkylineInputPipe" and "SkylineOutputPipe". This limits SkylineRunner to only 1 instance, since subsequent instances will collide on the pipe names. This can be fixed by passing a GUID to the Skyline command line, which shows up in AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData. Currently we only send "CMD" on this command-line to indicate that Skyline should start headless, and check the named pipe for its input parameters. By adding a GUID, we can specify a named pipe name that will change with every instance.