Launching Tkcon with a main script and another as arguments
- From: "tonydoy@xxxxxxxxxxxxxx" <tonydoy@xxxxxxxxxxxxxx>
- Date: Thu, 28 Jun 2007 11:56:12 -0700
mainScript.tcl and configScript.tcl, which is required byFrom within the wish console I am launching the Tkcon console with my
mainScript.tcl as an argument. The command I am using in the wish
console is
'exec wish tkcon.tcl -- mainScript.tcl configScript.tcl'
The Tkcon console is launched and mainScript.tcl is sourced but then
fails because it doesn't have a configuration script as an argument.
It seems that configScript.tcl is NOT being considered as an argument
and is considered to be sourced a separate script (which fails because
it just contains user defined constants).
Is anybody familiar with how to launch Tkcon with configScript.tcl as
an argument to mainScript.tcl?
When I launch the wish console from the windows command prompt as
follows then all is well.
'wish.exe mainScript.tcl configScript.tcl'
I have spent nearly two days on this now but am still getting
nowhere. Any pointers would be greatly appreciated.
Regards
Tony
.
- Follow-Ups:
- Re: Launching Tkcon with a main script and another as arguments
- From: Jeff Hobbs
- Re: Launching Tkcon with a main script and another as arguments
- From: Glenn Jackman
- Re: Launching Tkcon with a main script and another as arguments
- Prev by Date: Re: TclApp | DLL | CGI - permissions?
- Next by Date: Re: TclApp | DLL | CGI - permissions?
- Previous by thread: TclApp | DLL | CGI - permissions?
- Next by thread: Re: Launching Tkcon with a main script and another as arguments
- Index(es):
Relevant Pages
|