So armed with that information, change the sleep to system $^X, '-e', 'sleep 9';
In reply to Re^2: Allowing user to abort waitpid by Anonymous Monk in thread Allowing user to abort waitpid by lab007