phpseclib/phpseclib — pull request #59 by tamagokun (2013-01-17 19:13:52+00:00)
Title: Get the exit status

If SSH provides an exit status to phpseclib, it will set the exit status rather than ingnoring it.

Usage:

```php
exec("command");
echo $ssh->getExitStatus();
```