Solve "subprocess died" message

Fix for issue #44 on original repository By applying uncreative's patch:

https://github.com/uncreative/phpsh/commit/f239bd52f9deb103cc7fd703f19bc7309cd65406