Browse thread
Howto execute a command without the "cmd" windows opening?
- 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 (11:15) |
From: | Matthieu Dubuget <matthieu.dubuget@g...> |
Subject: | Howto execute a command without the "cmd" windows opening? |
Hello, I'm trying to run a separated program from an ocaml program (linked with "-subsystem windows" flexlink option). I'm using mingw flavour of Ocaml. The program to run separately is also an ocaml program, linked with "-subsystem windows". The problem is that a "c:\windows\system32\cmd.exe" windows pops up: I'd like to avoid this. I tried Sys.command and Unix.system without success. Is there any way to run a program and get the process status without using cmd.exe ? Thanks Matt