caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Adrien <camaradetux@gmail.com>
To: Paolo Donadeo <p.donadeo@gmail.com>
Cc: OCaml mailing list <caml-list@inria.fr>
Subject: Re: [Caml-list] sys command
Date: Wed, 8 Feb 2012 20:01:43 +0100	[thread overview]
Message-ID: <CAP5QFJkFgqq=oCPz0qXS0+VT9QEcF+_W37bciesxbEdT7WFX9w@mail.gmail.com> (raw)
In-Reply-To: <CAPzAKVDWCOQVGo6Mn3+06fQJy4M8=k0CZDYgDNFORtMCA0zprQ@mail.gmail.com>

On 08/02/2012, Paolo Donadeo <p.donadeo@gmail.com> wrote:
> I use Unix.system but: what popup?

I guess the "cmd.exe" one since Sys.command and Unix.system use the
same underlying function: system(3).

As far as I remember, Unix.create_process will not pop any additional(*) window.

(*) Of course, there's no magic here: if the process itself opens a
console window, you will always get one.
Linking with "gcc -mwindows" or "ld --subsystem windows" (not sure
about the syntax for ld) would solve it. If you can't link again, you
can still modify the binary with a tool or by hand since it's a single
bit (maybe two) in the PE header.

Hope this helps,
Adrien Nader

  reply	other threads:[~2012-02-08 19:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-08 16:53 Fady Nassif
2012-02-08 18:18 ` Andrej Bauer
2012-02-08 21:12   ` oliver
2012-02-08 18:21 ` Paolo Donadeo
2012-02-08 19:01   ` Adrien [this message]
2012-02-08 18:49 ` Ouchet Florent

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='CAP5QFJkFgqq=oCPz0qXS0+VT9QEcF+_W37bciesxbEdT7WFX9w@mail.gmail.com' \
    --to=camaradetux@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=p.donadeo@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).