We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 83637a9 + 8cff047 commit 533a16fCopy full SHA for 533a16f
test/common.ml
@@ -131,7 +131,7 @@ let canonicalise x =
131
132
exception Bad_exit of int * string * string list * string * string
133
134
-let run ?(env= [| |]) ?stdin cmd args =
+let run ?(env= Unix.environment()) ?stdin cmd args =
135
let cmd = canonicalise cmd in
136
debug "%s %s" cmd (String.concat " " args);
137
let null = Unix.openfile "/dev/null" [ Unix.O_RDWR ] 0 in
0 commit comments