public static int LaunchSlave (string roleName, params string[] keyValuePairs);

Parameters

roleNameThe name that corresponds to the RoleProviderAttribute of the process to start.
keyValuePairsArguments passed to the slave process.

Returns

int The process ID of the slave process. A value of 0 means the slave process could not be started.

Description

Launches a slave instance of UnityEditor on the same project as the master instance.