This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Starting .exe: DOS prompt OK, double-click not
- From: Kodaj Bence <kodaj at freemail dot hu>
- To: cygwin at cygwin dot com
- Date: Mon, 24 Mar 2003 15:35:05 +0100 (CET)
- Subject: Re: Starting .exe: DOS prompt OK, double-click not
> > "/cygdrive/c/OurAppFolder/OurScript.tcl": no such file or directory
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> This is a POSIX path.
> You can translate it to a Windows path using the Cygwin API call
> cygwin_conv_to_win32_path
Thanks for the tip, but I'm not sure this is the solution. There's a point
that I might not have made clear enough in my previous posting:
=============================================
Everything's fine when I start OurApp.exe from a DOS prompt.
=============================================
Now, OurApp.exe invokes wish like this:
execlp( "wish", "wish", "./OurScript.tcl" , ...);
My question is: why does this call work in the "DOS-prompt mode", and
why doesn't it work in "double-click mode"? Let me emphasize again
that wish is invoked _in the same way_ in both cases.
Bence Kodaj
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/