mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-16 05:25:21 +02:00
Trim the line before parsing.
This commit is contained in:
parent
ffbaedf13d
commit
251fa2d9e3
1 changed files with 2 additions and 1 deletions
|
@ -44,6 +44,7 @@ public class ProcessList implements IProcessList {
|
|||
//The format of the output should be
|
||||
//PID space name
|
||||
|
||||
lastline = lastline.trim();
|
||||
int index = lastline.indexOf(' ');
|
||||
if (index != -1) {
|
||||
String pidString = lastline.substring(0, index).trim();
|
||||
|
|
Loading…
Add table
Reference in a new issue