From: Oliver Bandel <oliver@first.in-berlin.de>
To: Markus Elfring <Markus.Elfring@web.de>
Cc: Gabriel Scherer <gabriel.scherer@gmail.com>, caml-list@inria.fr
Subject: Re: [Caml-list] Determination of the identification for the last started background process
Date: Sat, 9 Jan 2021 18:26:13 +0100 [thread overview]
Message-ID: <D1AF3E46-93DA-45ED-8BC5-F64097A1EF85@first.in-berlin.de> (raw)
In-Reply-To: <784c4a4e-96ae-d478-4116-b2f6e8fd8c7a@web.de>
> Am 09.01.2021 um 17:08 schrieb Markus Elfring <Markus.Elfring@web.de>:
>
>
>>
>> You may be looking for the
>>
>> Unix.create_process
>
> This function needs more input parameters than “Unix.system”.
> https://ocaml.org/releases/4.11/htmlman/libref/UnixLabels.html#VALcreate_process
>
> Now I am curious which datum should be passed for the argument “stdin”
> if a program should be executed as a child process without extra standard input?
[...]
It would be much easier to point you to the right functions, if you would give some more details on what you want to do, e.g. an example command that you want to use, and to tell us, if you want to pass data into it or read data from it, and so on.
The less information you provide, the fuzzier / general the anwers.
It might also interest you, that there is a seperated manual on how to do unix-programming with OCaml.
Ciao,
Oliver
next prev parent reply other threads:[~2021-01-09 17:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-06 14:05 Markus Elfring
2021-01-06 14:41 ` Gabriel Scherer
2021-01-09 16:08 ` Markus Elfring
2021-01-09 16:33 ` Gabriel Scherer
2021-01-09 16:43 ` [Caml-list] Creation of a child process without extra standard input? Markus Elfring
2021-01-09 16:44 ` [Caml-list] Determination of the identification for the last started background process Xavier Leroy
2021-01-09 16:52 ` Markus Elfring
2021-01-09 17:29 ` Oliver Bandel
2021-01-09 18:00 ` Markus Elfring
2021-01-09 17:26 ` Oliver Bandel [this message]
2021-01-09 17:52 ` Markus Elfring
2021-01-10 9:00 ` [Caml-list] Specification of an input file for a child process Markus Elfring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D1AF3E46-93DA-45ED-8BC5-F64097A1EF85@first.in-berlin.de \
--to=oliver@first.in-berlin.de \
--cc=Markus.Elfring@web.de \
--cc=caml-list@inria.fr \
--cc=gabriel.scherer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox