private function getPhantomProcess($viewPath)
    {
        $system = $this->getSystem();
        $phantom = __DIR__.'/bin/'.$system.'/phantomjs'.$this->getExtension($system);

        return new Process($phantom.' invoice.js '.$viewPath, __DIR__);
    }