Browse thread
Howto execute a command without the "cmd" windows opening?
-
Matthieu Dubuget
- David Allsopp
-
Alain Frisch
- Matthieu Dubuget
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2009-11-04 (13:58) |
From: | Matthieu Dubuget <matthieu.dubuget@g...> |
Subject: | Re: [Caml-list] Howto execute a command without the "cmd" windows opening? |
-------- 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