From: Matthieu Dubuget <matthieu.dubuget@gmail.com>
To: Alain Frisch <alain@frisch.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Howto execute a command without the "cmd" windows opening?
Date: Wed, 04 Nov 2009 14:58:27 +0100 [thread overview]
Message-ID: <4AF18883.4050803@gmail.com> (raw)
In-Reply-To: <4AF171E9.8020300@frisch.fr>
-------- Message original --------
Sujet : Re: [Caml-list] Howto execute a command without the "cmd"
windows opening?
De : Alain Frisch <alain@frisch.fr>
Pour : matthieu.dubuget@gmail.com
Date : Wed Nov 04 2009 13:22:01 GMT+0100 (CET)
> Matthieu Dubuget wrote:
>> Is there any way to run a program and get the process status without
>> using cmd.exe ?
>
> Did you try Unix.create_process?
>
> Alain
>
>
Thanks to Alain and David.
Something like
Unix.waitpid []
(Unix.create_process
external_prog args
Unix.stdin Unix.stdout Unix.stderr)
does it.
Salutations
Matt
prev parent reply other threads:[~2009-11-04 13:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-04 11:15 Matthieu Dubuget
2009-11-04 11:22 ` [Caml-list] " David Allsopp
2009-11-04 11:24 ` Matthieu Dubuget
2009-11-04 11:54 ` Matthieu Dubuget
2009-11-04 12:04 ` David Allsopp
2009-11-04 12:05 ` Adrien
2009-11-04 12:22 ` Alain Frisch
2009-11-04 13:58 ` Matthieu Dubuget [this message]
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=4AF18883.4050803@gmail.com \
--to=matthieu.dubuget@gmail.com \
--cc=alain@frisch.fr \
--cc=caml-list@inria.fr \
/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