equal
deleted
inserted
replaced
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 |