@ScriptMSG=`/run/some/script;/usr/echo "\$?"`; chomp(@ScriptMSG); $ExitCode=$ScriptMsg[$#ScriptMsg];