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: "Hannu E K Nevalainen (garbage mail)" <garbage_collector at telia dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 24 Mar 2003 19:22:41 +0100
- Subject: RE: Starting .exe: DOS prompt OK, double-click not
> 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/