Problem with TCL , couldn't execute a TCL file

Stucky, Mark B. UTRC StuckyMB@UTRCCT.res.utc.com
Thu Jul 10 15:36:00 GMT 2003


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/



More information about the Cygwin mailing list