public function testExitCodeCommandFailed() {
if (defined('PHP_WINDOWS_VERSION_BUILD')) {
$this
->markTestSkipped('Windows does not support POSIX exit code');
}
// such command run in bash return an exitcode 127
$process = $this
->getProcess('nonexistingcommandIhopeneversomeonewouldnameacommandlikethis');
$process
->run();
$this
->assertGreaterThan(0, $process
->getExitCode());
}