protected function fire(string $command, Closure $handler, bool $sameEnvironment = true): int
	{
		$process = popen($this->buildCommand($command, false, $sameEnvironment), 'r');

		while(!feof($process))
		{
			$handler(fread($process, 4096));
		}

		return pclose($process);
	}