From fd76393f9e087f7ecb4a110169f0be1828bf7254 Mon Sep 17 00:00:00 2001 From: Anton Leherbauer Date: Mon, 9 Nov 2009 14:44:25 +0000 Subject: [PATCH] Bug 208522 - ProcessList only displays processes associated with a controlling terminal, patch by Boris Pruessmann --- .../src/org/eclipse/cdt/internal/core/macosx/ProcessList.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.core.macosx/src/org/eclipse/cdt/internal/core/macosx/ProcessList.java b/core/org.eclipse.cdt.core.macosx/src/org/eclipse/cdt/internal/core/macosx/ProcessList.java index 834c2552df5..e0b955398eb 100644 --- a/core/org.eclipse.cdt.core.macosx/src/org/eclipse/cdt/internal/core/macosx/ProcessList.java +++ b/core/org.eclipse.cdt.core.macosx/src/org/eclipse/cdt/internal/core/macosx/ProcessList.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2005 IBM Corporation and others. + * Copyright (c) 2005, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -36,7 +36,7 @@ public class ProcessList implements IProcessList { public IProcessInfo [] getProcessList() { Process ps; BufferedReader psOutput; - String[] args = {"/bin/ps", "-a", "-o", "pid,command"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ + String[] args = {"/bin/ps", "-a", "-c", "-x", "-o", "pid,command"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ try { ps = ProcessFactory.getFactory().exec(args);