caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Gabriel Scherer <gabriel.scherer@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Creation of a child process without extra standard input?
Date: Sat, 9 Jan 2021 17:43:47 +0100	[thread overview]
Message-ID: <8f542c04-23b4-4cde-838b-a22c2191b960@web.de> (raw)
In-Reply-To: <CAPFanBFzqeyu0F74_T_5Zb4yDRHh9OYg8k3CAhDSrXADantiFw@mail.gmail.com>

> My understanding is that if "prog" is the name of the program to run, then
>
>   Unix.system (Filename.quote_command prog args)
>
> is equivalent to
>
>   Unix.create_process prog args ~stdin:Unix.stdin ~stdout:Unix.stdout ~stderr:Unix.stderr

Thanks for another feedback.

But I wonder how it fits to the programming concern for the omission of a standard input selection
(because an input file would be specified within the data for the parameter “args”).

Regards,
Markus

  reply	other threads:[~2021-01-09 16:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-06 14:05 [Caml-list] Determination of the identification for the last started background process 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       ` Markus Elfring [this message]
2021-01-09 16:44       ` 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
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=8f542c04-23b4-4cde-838b-a22c2191b960@web.de \
    --to=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;
as well as URLs for NNTP newsgroup(s).