Commit 1db7befe authored by petter's avatar petter
Browse files

Debugging output


git-svn-id: https://www2.in.tum.de/repos/ttt/trunk@129 0463f305-d864-43cb-8a47-61cf597d4139
parent eabe965a
...@@ -174,6 +174,7 @@ public class Exec { ...@@ -174,6 +174,7 @@ public class Exec {
* Extends exec() of the class Runtime by cleaning the output- and error-stream of the executed process in order to avoid that the process goes idle.<br> * Extends exec() of the class Runtime by cleaning the output- and error-stream of the executed process in order to avoid that the process goes idle.<br>
*/ */
public int exec(String[] cmd) throws Exception { public int exec(String[] cmd) throws Exception {
//System.out.println(" ... issuing command " +java.util.Arrays.deepToString(cmd));
process = Runtime.getRuntime().exec(cmd); process = Runtime.getRuntime().exec(cmd);
return waitFor(); return waitFor();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment