mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 21:05:37 +02:00
Bug 208522 - ProcessList only displays processes associated with a controlling terminal, patch by Boris Pruessmann
This commit is contained in:
parent
0c123289d2
commit
fd76393f9e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue