Fixes Issue 9444 - Exception must be thrown on Posix when shell() call fails.
Merge pull request #1135 from AndrejMitrovic/Fix9444

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