Running msys.bat using ProcessBuilder
<p>I am attempting to run msys.bat in java using ProcessBuilder. When I run the .bat file with my program, the following error occurred: "Cannot find the rxvt.exe or sh.exe binary -- aborting. Press any key to continue . . ." </p>

<p>Here is the code,</p>

<pre><code>    ProcessBuilder Msys = new ProcessBuilder("C:/msys/1.0/msys.bat", "/C", "find \"C:/Users/Dan G/Desktop/hello.elf\"");

    Process p = Msys.start();

    String line;
    BufferedReader r = new BufferedReader(new InputStreamReader(p.getInputStream()));
    while ((line = r.readLine()) != null) {
        System.out.println(line);
    }
    r.close();
</code></pre>

<p>The goal is to compile some C projects of mine. The command up there is just to test for a result, not what I want to accomplish. </p>

<p>Thanks for the help!</p>
