The documentation of open_process_args does not say that the first element of the args array must be the command name. It should also say how the first argument of open_process_args and the first element of the array are used (name of the command and argv[0] I guess?). It should be written so that ocaml programmer not familiar to exec family of commands can use it directly.
The documentation of
open_process_argsdoes not say that the first element of theargsarray must be the command name. It should also say how the first argument ofopen_process_argsand the first element of the array are used (name of the command and argv[0] I guess?). It should be written so that ocaml programmer not familiar toexecfamily of commands can use it directly.