src/Pure/System/isabelle_system.ML
changeset 74212 a1ccecae6a57
parent 74210 c14774713d62
child 74336 7bb0ac635397
equal deleted inserted replaced
74211:2ee03f7abd8d 74212:a1ccecae6a57
    38 
    38 
    39 val absolute_path = Path.implode o File.absolute_path;
    39 val absolute_path = Path.implode o File.absolute_path;
    40 
    40 
    41 fun bash_process params =
    41 fun bash_process params =
    42   let
    42   let
    43     val {script, input, cwd, putenv, redirect, timeout, description: string} =
    43     val {script, input, cwd, putenv, redirect, timeout, description} =
    44       Bash.dest_params params;
    44       Bash.dest_params params;
    45     val run =
    45     val run =
    46       [Bash.server_run, script, input,
    46       [Bash.server_run, script, input,
    47         let open XML.Encode in YXML.string_of_body (option (string o absolute_path) cwd) end,
    47         let open XML.Encode in YXML.string_of_body (option (string o absolute_path) cwd) end,
    48         let open XML.Encode in YXML.string_of_body o list (pair string string) end
    48         let open XML.Encode in YXML.string_of_body o list (pair string string) end