use waitpid2 to get proccess exit status on mri
Merge pull request #168 from RiotGames/fix-shellout-windows

use waitpid2 to get proccess exit status on mri