Changeset View
Changeset View
Standalone View
Standalone View
scripts/ssh/ssh-connect.php
Show First 20 Lines • Show All 148 Lines • ▼ Show 20 Lines | foreach ($passthru_args as $passthru_arg) { | ||||
$pattern[] = '%s'; | $pattern[] = '%s'; | ||||
$arguments[] = $passthru_arg; | $arguments[] = $passthru_arg; | ||||
} | } | ||||
$pattern = implode(' ', $pattern); | $pattern = implode(' ', $pattern); | ||||
array_unshift($arguments, $pattern); | array_unshift($arguments, $pattern); | ||||
$err = newv('PhutilExecPassthru', $arguments) | $err = newv('PhutilExecPassthru', $arguments) | ||||
->execute(); | ->resolve(); | ||||
exit($err); | exit($err); |