Printing out full command for command[] argument. Using arrays.tolist() which adds a [] around the text. that should be cleaned up.
git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@473 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
parent
7b4f5541aa
commit
94c89b66d4
@ -5,6 +5,7 @@ import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.util.Arrays;
|
||||
import java.util.BitSet;
|
||||
|
||||
|
||||
@ -95,7 +96,7 @@ public class Exec
|
||||
Process child = null;
|
||||
ByteArrayOutputStream output = new ByteArrayOutputStream();
|
||||
ByteArrayOutputStream errors = new ByteArrayOutputStream();
|
||||
ExecResults results = new ExecResults(command[0], input, successCode, timeout);
|
||||
ExecResults results = new ExecResults(Arrays.asList(command).toString(), input, successCode, timeout);
|
||||
BitSet interrupted = new BitSet(1);
|
||||
boolean lazyQuit = false;
|
||||
ThreadWatcher watcher;
|
||||
|
Loading…
x
Reference in New Issue
Block a user