This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]