You may be looking for the

  Unix.create_process

function: https://ocaml.org/releases/4.11/htmlman/libref/Unix.html#1_Highlevelprocessandredirectionmanagement

On Wed, Jan 6, 2021 at 3:05 PM Markus Elfring <Markus.Elfring@web.de> wrote:
Hello,

The programming language “OCaml” supports also to start a background process
by the function “Unix.system”.
How can the corresponding process identification be determined?

I would appreciate your advices.

Regards,
Markus