Differential D11860 Diff 28618 src/applications/daemon/management/PhabricatorDaemonManagementLaunchWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/daemon/management/PhabricatorDaemonManagementLaunchWorkflow.php
Show All 37 Lines | if ($argv) { | ||||
} | } | ||||
} | } | ||||
if (!$argv) { | if (!$argv) { | ||||
throw new PhutilArgumentUsageException( | throw new PhutilArgumentUsageException( | ||||
pht('You must specify which daemon to launch.')); | pht('You must specify which daemon to launch.')); | ||||
} | } | ||||
$daemon = array(array_shift($argv), $argv); | $daemon = array(); | ||||
$daemon['class'] = array_shift($argv); | |||||
$daemon['argv'] = $argv; | |||||
$daemons = array_fill(0, $daemon_count, $daemon); | $daemons = array_fill(0, $daemon_count, $daemon); | ||||
$this->launchDaemons($daemons, $is_debug = false); | $this->launchDaemons($daemons, $is_debug = false); | ||||
return 0; | return 0; | ||||
} | } | ||||
} | } |