Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
e507700a
Commit
e507700a
authored
Oct 05, 2007
by
Pietro Abate
Browse files
[r2006-06-06 06:41:13 by afrisch] Empty log message
Original author: afrisch Date: 2006-06-06 06:41:13+00:00
parent
2f1dde50
Changes
1
Hide whitespace changes
Inline
Side-by-side
runtime/system.ml
View file @
e507700a
...
...
@@ -34,7 +34,10 @@ end
let
run_process
cmd
=
let
(
sout
,
sin
,
serr
)
as
h
=
Unix
.
open_process_full
cmd
(
Unix
.
environment
()
)
in
close_out
sin
;
Unix
.
close
(
Unix
.
descr_of_out_channel
sin
);
(* used to be: (close_out sin), but OCaml 3.09.2 seems to segfault
on double closing channels. *)
let
sout
=
Reader
.
ic
sout
in
let
serr
=
Reader
.
ic
serr
in
sout
,
serr
,
Unix
.
close_process_full
h
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment