From 5266f760449e6c8a2572e7caef83d1d03cd97fda Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Tue, 17 Sep 1996 14:43:05 +0000 Subject: close_on.c: reecriture complete createprocess.c: chercher dans le PATH unix.ml: il faut deux \000 a la fin d'un bloc d'environnement winwait.c: le PID renvoye n'etait pas bon. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@985 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/win32unix/unix.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'otherlibs/win32unix/unix.ml') diff --git a/otherlibs/win32unix/unix.ml b/otherlibs/win32unix/unix.ml index b1a99c857..1674ad97b 100644 --- a/otherlibs/win32unix/unix.ml +++ b/otherlibs/win32unix/unix.ml @@ -412,7 +412,7 @@ let create_process prog args fd1 fd2 fd3 = let create_process_env prog args env fd1 fd2 fd3 = win_create_process prog (String.concat " " (Array.to_list args)) - (Some(String.concat "\000" (Array.to_list env))) + (Some(String.concat "\000" (Array.to_list env) ^ "\000")) fd1 fd2 fd3 external system: string -> process_status = "win_system" -- cgit v1.2.3-70-g09d2