How to run external command from OCaml script

Hello,
This is not directly related to your question, but for shell-style scripting, the combination of Sys.command + Filename.quote_command is a very robust and portable alternative to using Unix, and is simpler to use.

Cheers,
Nicolas

4 Likes