Issue Description:
The passthru usages will result in a false positive if the called command returns with non-zero exit code.
Suggested Resolution:
Check &$return_var value and raise an error to propagate the error to the calling quicksilver script.
$cmd = 'wp search-replace "://test-example.pantheonsite.io" "://example.com" --all-tables ';
passthru($cmd . ' 2>&1', $exit);
if (0 !== $exit) {
trigger_error(sprintf('Command "%s" exit status: %s', $cmd, $exit), E_USER_ERROR);
}
Issue Description:
The passthru usages will result in a false positive if the called command returns with non-zero exit code.
Suggested Resolution:
Check &$return_var value and raise an error to propagate the error to the calling quicksilver script.