diff options
author | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2000-02-01 06:52:39 +0000 |
---|---|---|
committer | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2000-02-01 06:52:39 +0000 |
commit | 9ac4b7df38db97c396b32b9a14537c155d9389ff (patch) | |
tree | e7f74d7610b4360a1d50e362fd165baa02c4eb94 /otherlibs/labltk/browser/shell.ml | |
parent | af07b519959fe8ceb982d037ec0d6d934e6d512f (diff) |
new labels in List, Set, Unix and ThreadUnix
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2775 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
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 = |