Re: Launching Tkcon with a main script and another as arguments



A guess: what happens if you:
exec wish tkcon.tcl mainScript.tcl -- configScript.tcl

Just tried what you suggested but still to no avail.

The tkcon window shows that it is still trying to source the
configScript.

I can confirm that the llength of argv is 0.

I'm sure the answer is staring me in the face but I just can't see it.

.



Relevant Pages

  • Re: Problem in calling c programs and compiling them in tcl/tk
    ... using exec gcc filename.c and later exec ./a.out filename.c. ... int main(int argc, char** argv) ...
    (comp.lang.tcl)
  • Re: execve argument types (use of const)
    ... This is what the POSIX.1-2001/SUSv3 exec page says about it (under ... The statement about argv[] and envp[] being constants is included to ... Due to a limitation of the ISO C standard, ...
    (comp.unix.programmer)
  • Re: Looking into C-include files on VMS
    ... start a new process and exec() to load a new program into it. ... vfork() creates a new process by just copying CPU registers and MMU tables. ... argv) it should work without special tricks. ... a command line string in the underlying syscall and uses an algorithm for ...
    (comp.os.vms)
  • Re: Who calls main() in a C program?
    ... See man -s 2 exec on a Solaris system or man 3p exec on a Linux ... The argc and argv is how the command line arguments get ... writing a shell ...
    (comp.lang.c.moderated)
  • Re: Who calls main() in a C program?
    ... See man -s 2 exec on a Solaris system or man 3p exec on a Linux ... The argc and argv is how the command line arguments get ... writing a shell ...
    (comp.lang.c.moderated)