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:[EMAIL PROTECTED]
> Sent: Thursday, July 10, 2003 11:09 AM
> To: [EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]> 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
> > [EMAIL PROTECTED]
> >
> >
>
> ___________________________________________________________
> 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/