Currently it is only output after the script has finished.
Actually i call a shell script to execute a lot of things.
Code: Select all
set binary {./script.sh}
foreach line [split [exec $binary $pack $pack2 $nick] "\n"] {
putquick "PRIVMSG $chan :$line"
}
}
is it also possible to do it more elegantly?