summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/unix.ml
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1996-09-17 14:43:05 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1996-09-17 14:43:05 +0000
commit5266f760449e6c8a2572e7caef83d1d03cd97fda (patch)
treef4d3ff548dbe958ddc13d84cc2c402c8c289beec /otherlibs/win32unix/unix.ml
parent1685e9fa9dc52d96938b4579327863db8ccbae03 (diff)
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
Diffstat (limited to 'otherlibs/win32unix/unix.ml')
-rw-r--r--otherlibs/win32unix/unix.ml2
1 files changed, 1 insertions, 1 deletions
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"