Starting .exe: DOS prompt OK, double-click not
Hannu E K Nevalainen (garbage mail)
garbage_collector@telia.com
Mon Mar 24 20:17:00 GMT 2003
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.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/
More information about the Cygwin
mailing list