Execute a system command: Difference between revisions
Content added Content deleted
(Added a solution for MATLAB) |
|||
Line 487: | Line 487: | ||
a more complete version which also returns the contents |
a more complete version which also returns the contents from stderr, and checks the exit-status, and where the environment can be specified: |
||
<lang ocaml>let check_exit_status = function |
<lang ocaml>let check_exit_status = function |