public void Start(Dictionary <string, string> cmdline) { if (m_ipcThread != null) { return; } IPC.CommandEvent += IPC_CommandEvent; IPC.m_cmdline = cmdline; IPC.m_serviceMode = ((cmdline.ContainsKey("mode")) && (cmdline["mode"] == "service")); IPC.LogDebug("Start"); m_ipcThread = new Thread(new ThreadStart(IPC.MainLoop)); m_ipcThread.Start(); }