summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/unix.ml
diff options
context:
space:
mode:
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"