Re: Running Processes

1999-04-19 Thread Chris Abbey
What kind of error? I have no problems calling the single string signature of exec, the command you show here executed, both as an array and as a single string ( "/bin/sh -c grep -in main *.java > list &" ) although that didn't do the same as the three element array... because the two are not the

Running Processes

1999-04-19 Thread Bill Paladino
The RunTime class seems to be VERY cranky about the String command it sees to exec a program. Only likes String arrays and generates a Run Time error if you pass it the command as a SINGLE string formatted the same way as the String-array. Following works OK but if you change the runCmd to a Stri