diff options
Diffstat (limited to 'otherlibs/labltk/browser/shell.ml')
-rw-r--r-- | otherlibs/labltk/browser/shell.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/labltk/browser/shell.ml b/otherlibs/labltk/browser/shell.ml index f2fbd3a7e..3a5958806 100644 --- a/otherlibs/labltk/browser/shell.ml +++ b/otherlibs/labltk/browser/shell.ml @@ -68,7 +68,7 @@ object (self) Array.append env [|sigdef|] else env in - Unix.create_process_env name:prog :args :env + Unix.create_process_env :prog :args :env stdin:in2 stdout:out2 stderr:err2 val out = Unix.out_channel_of_descr out1 val h = new history () @@ -239,7 +239,7 @@ let get_all () = all let may_exec_unix prog = - try Unix.access name:prog perm:[Unix.X_OK]; true + try Unix.access file:prog perm:[Unix.X_OK]; true with Unix.Unix_error _ -> false let may_exec_win prog = |