Fixes Issue 9444 - Exception must be thrown on Posix when shell() call fails.