From 2a6d8bb49affb1497932f0b5f99898850d36dc0e Mon Sep 17 00:00:00 2001 From: Dennis Ushakov Date: Thu, 2 Feb 2012 14:15:02 +0400 Subject: [PATCH] RUBY-10022 FreeBSD support --- .../src/com/intellij/execution/process/UnixProcessManager.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform/util/src/com/intellij/execution/process/UnixProcessManager.java b/platform/util/src/com/intellij/execution/process/UnixProcessManager.java index 4a85fe333337..965953f761b2 100644 --- a/platform/util/src/com/intellij/execution/process/UnixProcessManager.java +++ b/platform/util/src/com/intellij/execution/process/UnixProcessManager.java @@ -178,6 +178,9 @@ public class UnixProcessManager { else if (SystemInfo.isMac) { return new String[]{"ps", "-ax", "-E", "-o", commandLineOnly ? "command" : "ppid,pid,command"}; } + else if (SystemInfo.isFreeBSD) { + return new String[]{"ps", "-ax", "-e", "-o", commandLineOnly ? "command" : "ppid,pid,command"}; + } else { throw new IllegalStateException(System.getProperty("os.name") + " is not supported."); }