I want to be able to run my tcl/tk application on the command line without it displaying the default window .
This window shows when wish is used to run the tcl/tk script even though there are no tk widgets, windows etc. ie no tk code at all.
I am giving the user 2 options
1.) to run it from the command line (showing now windows at all)
2.) to run it with gui (using tk widgets etc)
i am using a variable to keep track of the mode the user is in.
a way around this would be to use tclsh to execute the script using the command line option and wish to execute it for the gui when no command line args are given.
how would i go about solving this
This window shows when wish is used to run the tcl/tk script even though there are no tk widgets, windows etc. ie no tk code at all.
I am giving the user 2 options
1.) to run it from the command line (showing now windows at all)
2.) to run it with gui (using tk widgets etc)
i am using a variable to keep track of the mode the user is in.
a way around this would be to use tclsh to execute the script using the command line option and wish to execute it for the gui when no command line args are given.
how would i go about solving this