Support Windows

Test Plan:
Enable setup.
Disable setup.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran

Differential Revision: https://secure.phabricator.com/D2118
This commit is contained in:
vrana
2012-04-05 23:50:55 -07:00
parent 426d6f2b1f
commit 23988ca482
4 changed files with 12 additions and 9 deletions

View File

@@ -233,8 +233,8 @@ final class PhabricatorSetup {
// unreasonable and we don't need it from Apache, so do an explicit test
// for CLI availability.
list($err, $stdout, $stderr) = exec_manual(
'%s/scripts/setup/pcntl_available.php',
$root);
'php %s',
"{$root}/scripts/setup/pcntl_available.php");
if ($err) {
self::writeFailure();
self::write("Unable to execute scripts/setup/pcntl_available.php to ".