fix exit status of signal-terminated subprocess  Closes PR 10932  Merge to 5.0.1 (cherry picked from commit a2f3dad4f0c01ec0806ebff8645450b1919c47c9)
fix exit status of signal-terminated subprocess
 Closes PR 10932
 Merge to 5.0.1
(cherry picked from commit a2f3dad4f0c01ec0806ebff8645450b1919c47c9)

mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket