Launching Tkcon with a main script and another as arguments



From within the wish console I am launching the Tkcon console with my
mainScript.tcl and configScript.tcl, which is required by
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

.



Relevant Pages

  • Launching Another Executable from my Program (Borland C++)
    ... I have a C++ DOS app that I made in Borland... ... Is there a quick and dirty way to launch a console application (with ... command line args) from a DOS C++ app? ...
    (comp.os.msdos.programmer)
  • Re: Console Windows Forms hybrid
    ... So you make the .COM the console application, and the .EXE the Windows ... command line, just launch the EXE and then exit. ... If I launch the application from Windows> Explorer, a blank console window gets launched with it. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: 2007a and Mac 10.5 Leopard
    ... Can you provide the exact xterm output when you launch in xterm? ... is there output in the Console application when you launch? ... Use emacs from the command line, Xcode's text editor or some other real text editor to ensure that the file is unformatted ascii text, and confirm the file's contents. ... Is there any message in Console? ...
    (comp.soft-sys.matlab)
  • Re: An Agena FOBS?
    ...  > Who said command and control? ... coordinated> EVERY launch. ...  > Are you saying NORAD couldn't talk to commanders of Corona? ... the launcher on command. ...
    (sci.space.history)
  • Re: finding a fax in the fax console?
    ... The command line is for the Open command for TIF files. ... > I am still unable to view any faxes from the console. ... >>>>Inbox to the Outlook Inbox. ...
    (microsoft.public.outlook.fax)