This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Problem with TCL , couldn't execute a TCL file
- From: "Stucky, Mark B. UTRC" <StuckyMB at UTRCCT dot res dot utc dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 10 Jul 2003 11:26:07 -0400
- Subject: RE: Problem with TCL , couldn't execute a TCL file
How exactly are you launching THEPROGRAM ?
command {exec /home/me/THEPROGRAM &}
The braces {} above just enclose a string
(ie "exec /home/me/THEPROGRAM &") and I have
no idea what "command" is...
You probably want something like the following:
[exec /home/me/THEPROGRAM &]
--Mark
> -----Original Message-----
> From: philippe guillaume [mailto:guillaume_pfr@yahoo.fr]
> Sent: Thursday, July 10, 2003 11:09 AM
> To: cygwin@cygwin.com
> Subject: Re: Problem with TCL , couldn't execute a TCL file
>
>
> No it does not work ...
>
> it is THEPROGRAM and not THEPROGRAM.exe ... and the
> path is well defined in command{}
>
> But when i type "exec THEPROGRAM &" it runs !!!
>
> What a mystery ! :-)
>
> --- Elfyn McBratney <elfyn@emcb.co.uk> a écrit?: > On
> Thu, 10 Jul 2003, [iso-8859-1] philippe guillaume
> > wrote:
> >
> > > Hi !
> > >
> > > There's a new problem in porting my program ...
> > > A button of the main window (written in TCL) calls
> > > another TCL file.
> > >
> > > When i click on this button it produces this
> > error:
> > >
> > > "Error : couldn't execute
> > > "C:\cygwin\home\me\THEPROGRAM": no such file or
> > > directory
> > >
> > > But this file really exists !!!
> > >
> > > it is called like this :
> > > "command {exec /home/me/THEPROGRAM &} "
> >
> > Does changing the above to
> >
> > command {exec /home/me/THEPROGRAM.exe &}
> >
> > work ?
> >
> > Elfyn
> >
> > --
> > Elfyn McBratney, EMCB
> > http://www.emcb.co.uk
> > elfyn@emcb.co.uk
> >
> >
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/