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 From: "Hannu E K Nevalainen (garbage mail)" To: Subject: RE: Starting .exe: DOS prompt OK, double-click not Date: Mon, 24 Mar 2003 19:22:41 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On > Behalf Of Kodaj Bence --8<-- > ============================================= > 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 DOS accepts / as path item separator *to some extent* C:\> dir "c:/windows/command" works (Win98-DOS); NOTE that the quotes are necessary. /Hannu E K Nevalainen, Mariefred, Sweden --END OF MESSAGE-- -- 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/