if {[string compare [lindex $argv 0] "-dorealprocessing"]} { set command [list [info nameofexecutable]] # A starpack doesn't use a script parameter on the command line if {[string compare ![info exists ::starkit::mode] || $starkit::mode "starpack"]} { lappend command [info script] } eval exec $command -dorealprocessing $argv >/dev/null & exit } error: can't read "starkit::mode": no such variable