--- a/src/Pure/System/isabelle_system.scala Sun Mar 13 13:04:50 2016 +0100
+++ b/src/Pure/System/isabelle_system.scala Sun Mar 13 14:27:31 2016 +0100
@@ -312,8 +312,8 @@
def pdf_viewer(arg: Path): Unit =
bash("exec \"$PDF_VIEWER\" '" + File.standard_path(arg) + "' >/dev/null 2>/dev/null &")
- def hg(cmd_line: String, cwd: Path = Path.current): Process_Result =
- bash("cd " + File.bash_path(cwd) + " && \"${HG:-hg}\" " + cmd_line)
+ def hg(cmd_line: String, cwd: JFile = null): Process_Result =
+ bash("\"${HG:-hg}\" " + cmd_line, cwd = cwd)