internal static void LaunchAgentProcess(string file) { var record = AgentRecord.Create(file); _processes.Add(record.Id, record); record.Launch(); }
public static AgentRecord Create(string file) { var agentId = Guid.NewGuid(); string arglist = "-id " + agentId.ToString() + " -url " + ServerUrl; if (Debugger.IsAttached) { arglist += " --launch-debugger"; } var record = new AgentRecord(agentId, file, arglist); return(record); }
public static AgentRecord Create(string file) { var agentId = Guid.NewGuid(); string arglist = "-id " + agentId.ToString() + " -url " + ServerUrl; if (Debugger.IsAttached) arglist += " --launch-debugger"; var record = new AgentRecord(agentId, file, arglist); return record; }