Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: strange1net.gotdns.org: mpierce set sender to michael@strange1.net using -f
Subject: Re: Starting .exe: DOS prompt OK, double-click not
From: Michael Pierce <michael@strange1.net>
To: cygwin@cygwin.com
In-Reply-To: <freemail.20030224153505.81470@fm6.freemail.hu>
References: <freemail.20030224153505.81470@fm6.freemail.hu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Organization: http://www.strange1.net
Message-Id: <1048534776.3227.8.camel@strange1net>
Mime-Version: 1.0
Date: 24 Mar 2003 11:39:36 -0800

On Mon, 2003-03-24 at 06:35, Kodaj Bence wrote:
> > > "/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
> 
have you tried creating a shortcut for the application, *and* specifying
the path in the start in location?

-- 
Michael michael@strange1.net
http://www.strange1.net
GPG ID:1D630EF7



--
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/

