projectRoot() . '/bin/doctor.php'; $command = PHP_BINARY . ' ' . escapeshellarg($scriptPath); passthru($command, $exitCode); return $exitCode; } }