delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/24/09:42:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 24 Mar 2003 15:35:05 +0100 (CET)
From: Kodaj Bence <kodaj AT freemail DOT hu>
Subject: Re: Starting .exe: DOS prompt OK, double-click not
To: cygwin AT cygwin DOT com
In-Reply-To: <Pine.LNX.4.44.0303241052310.850-100000@localhost.localdomain>
Message-ID: <freemail.20030224153505.81470@fm6.freemail.hu>
X-Originating-IP: [193.225.87.97]
X-HTTP-User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0; Q312461)
MIME-Version: 1.0

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019