|
|
@ -21,7 +21,7 @@ namespace NzbDrone.Mono
|
|
|
|
|
|
|
|
|
|
|
|
return monoProcesses.Where(c =>
|
|
|
|
return monoProcesses.Where(c =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var processArgs = _processProvider.StartAndCapture("ps", String.Format("--pid {0} -o args=", c.Id));
|
|
|
|
var processArgs = _processProvider.StartAndCapture("ps", String.Format("-p {0} -o args=", c.Id));
|
|
|
|
|
|
|
|
|
|
|
|
return processArgs.Standard.Any(p => p.Contains(ProcessProvider.NZB_DRONE_PROCESS_NAME + ".exe") ||
|
|
|
|
return processArgs.Standard.Any(p => p.Contains(ProcessProvider.NZB_DRONE_PROCESS_NAME + ".exe") ||
|
|
|
|
p.Contains(ProcessProvider.NZB_DRONE_CONSOLE_PROCESS_NAME + ".exe"));
|
|
|
|
p.Contains(ProcessProvider.NZB_DRONE_CONSOLE_PROCESS_NAME + ".exe"));
|
|
|
|