Comment 1 for bug 591085

Revision history for this message
Archimedes Trajano (trajano) wrote :

The implementation I did was pretty yucky but it seems to move the thing forward so now it will find the executable on the Mac.

  final Process whichProcess = Runtime.getRuntime().exec(
    new String[] { System.getenv("SHELL"), "-lc", "which bzr" });
  final BufferedReader reader = new BufferedReader(new InputStreamReader(
    whichProcess.getInputStream()));
  final String pathLine = reader.readLine();