Jobby\Jobby::runWindows PHP Method

runWindows() protected method

protected runWindows ( string $job, array $config )
$job string
$config array
    protected function runWindows($job, array $config)
    {
        // Run in background (non-blocking). From
        // http://us3.php.net/manual/en/function.exec.php#43834
        $command = $this->getExecutableCommand($job, $config);
        pclose(popen("start \"blah\" /B \"php.exe\" {$command}", "r"));
    }