Quote:
Try pausing after the killall, to give time for the player to catch the SIGINT and actually exit before the next steps..


Why would that make a difference? It currently works great when the script is run from the (telnet) commandline and only fails when run from either the Hijack menu or an ftp site exec command.

It is this inconsistent behaviour that surely must be the key?

Anyway, I tried killall -w..... and it made no difference.

It really does seem to me that it's an rsync thing, but I've no idea what, or how to cure it.