This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Launching a cygwin binary from an application using CreateProcess Win32 API.
- From: "Alireza Ghasemi" <ali dot foolad at gmail dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 9 Jun 2005 11:35:44 +0430
- Subject: Re: Launching a cygwin binary from an application using CreateProcess Win32 API.
- References: <20050607192754.64445.qmail@web54605.mail.yahoo.com>
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/