From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id DE8CDBBAF for ; Wed, 4 Nov 2009 12:24:38 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsABAKby8EpKfU4aimdsb2JhbACbGD8BAQEKCQwHEQWwIAqBL4ZdiGgBAwMFhDgEgWWHSg X-IronPort-AV: E=Sophos;i="4.44,679,1249250400"; d="scan'208";a="39503222" Received: from ey-out-2122.google.com ([74.125.78.26]) by mail1-smtp-roc.national.inria.fr with ESMTP; 04 Nov 2009 12:24:38 +0100 Received: by ey-out-2122.google.com with SMTP id d26so824692eyd.7 for ; Wed, 04 Nov 2009 03:24:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=J9gd5WfozaVY6QdUN8CC14AMhKunPmvKTP+jH5GOPNM=; b=hMQeDly1ebrZ+pjdAfseTOjJJYL6tA/7EX/ZKjugsS2iojvLZbgc8P4GvKwQFZ7rWG +4ythX7Q0efWMmKfNJNBVtVynr9F4IWwP+mj5Uow3X61U6dZyAZqNNxQC+HZaL08tk6s Xd6/Tnzo6owJgl1O1FnnjQVMJEaXjdTsa2KCQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=l82m5EmKeqEHIAbBAcmG682KvdsTxvwaW0RM0kSv19NhOMfe/EhA9PcBNigd33LA5R eX8AY3gA/dp544xO1g63S/OiWmwElDmNreg3BVjN9RS5adqxKpvhFyjgX87ZwDLSG8VM oZh0XW1gTCC5RGG/vHUJgf8QNnmEYSP0cLsaE= Received: by 10.216.85.138 with SMTP id u10mr564048wee.185.1257333878294; Wed, 04 Nov 2009 03:24:38 -0800 (PST) Received: from ?172.17.1.11? (papillon.metalscan.fr [212.73.210.234]) by mx.google.com with ESMTPS id p37sm3010721gvf.24.2009.11.04.03.24.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Nov 2009 03:24:37 -0800 (PST) Message-ID: <4AF16474.5070104@gmail.com> Date: Wed, 04 Nov 2009 12:24:36 +0100 From: Matthieu Dubuget Reply-To: matthieu.dubuget@gmail.com User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: David Allsopp Cc: caml-list@inria.fr Subject: Re: [Caml-list] Howto execute a command without the "cmd" windows opening? References: <4AF16258.6010508@gmail.com> <021001ca5d41$20175d60$60461820$@allsopp@metastack.com> In-Reply-To: <021001ca5d41$20175d60$60461820$@allsopp@metastack.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; matthieu:01 dubuget:01 matthieu:01 dubuget:01 howto:01 stub:01 ocaml-win:01 stub:01 caml-list:01 api:02 api:02 parameters:03 null:05 long:06 function:08 > It's been on my todo list to wrap the CreateProcess Win32 API function[1] in > a C stub function - someone else may have done this (possibly in > ocaml-win32[2] or something like that), though. The API is very simple (most > parameters will be NULL) so the stub would not take long to write. > > Thank you David. I'll go this way, then. Matt