public void StartSearch(ArgumentLine argumentFile) { NewProcess(); process.StartInfo.Arguments = argumentFile.ToString(); process.Exited += Exited; process.ErrorDataReceived += UpdateStatus; process.Disposed += new EventHandler(process_Disposed); process.Start(); process.BeginErrorReadLine(); process.BeginOutputReadLine(); }
public ArgumentLine(ArgumentLine arg) { Arguments = new Dictionary<string, string>(arg.Arguments); RemoveDefaults = arg.RemoveDefaults; }