delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <000201c56cc5$a5edf640$9b2fb5d5@keloasc60pobkb> |
From: | "Alireza Ghasemi" <ali DOT foolad AT gmail DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <20050607192754 DOT 64445 DOT qmail AT web54605 DOT mail DOT yahoo DOT com> |
Subject: | Re: Launching a cygwin binary from an application using CreateProcess Win32 API. |
Date: | Thu, 9 Jun 2005 11:35:44 +0430 |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Venaktesh Goapal wrote > Hi, > > I tried what is mentioned in the subject above but > have not been successful. > > CreateProcess(...) returns the error 1305. > > From Winerror.h > > #define ERROR_UNKNOWN_REVISION 1305L > > Has someone tried this, or know the reason for the > error. > > Thanks, > Venkatesh. I think Christopher is right.Use ShellExecute() WinExec or (if you use C) _spawn... and _exec....They get less parameters and do the same work foe simple processes. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |