Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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/