Hi,
I'm a Tcl/Tk newbie. I'm writing a console script in Tcl which must run in Linux and Windows.
In Linux the script is run by tclsh because of the
#!/usr/bin/tclsh
directive in the first line.
In Windows I use ActiveTcl which by default associates Tcl script with wish. So every script opens an empty Tk window even without any Tk commands.
How can I prevent this window from appearing (or kill it right after script starts)?
Thanks.
I'm a Tcl/Tk newbie. I'm writing a console script in Tcl which must run in Linux and Windows.
In Linux the script is run by tclsh because of the
#!/usr/bin/tclsh
directive in the first line.
In Windows I use ActiveTcl which by default associates Tcl script with wish. So every script opens an empty Tk window even without any Tk commands.
How can I prevent this window from appearing (or kill it right after script starts)?
Thanks.