All pastes #472910 Raw Edit

skidmark

public text v1 · immutable
·published 2007-05-05 22:13 UTC
rendered paste body
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