

THIS IS COMMENTED OUT, AND SHOULD NOT BE USED!


#!/usr/bin/tclsh
catch {set script [info script]}
catch {set script [file normalize $script]}
catch {set execdir [file dirname [file dirname $script ]]}
set env(@OS_VARNAME_FOR_LIBRARY_PATH@) [ exec $execdir/brains3_setup.sh @OS_VARNAME_FOR_LIBRARY_PATH@ ]
set command "$execdir/@BGCbin_name@ $argv"
set fp [ open "| $command |& cat" "r"]
while { ![eof $fp ] } {
    gets $fp line
    puts $line
}
if { [catch "close $fp" res] } {
    exit [ lindex $errorCode 2 ]
} else {
    exit 0
}

