Version française
Home     About     Download     Resources     Contact us    
Browse thread
Howto execute a command without the "cmd" windows opening?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
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