spatie / server-side-rendering

Server side rendering JavaScript in a PHP application
https://sebastiandedeyne.com/posts/2018/server-side-rendering-javascript-from-php
MIT License
603 stars 35 forks source link

Process 132 exit code. #28

Closed martingg88 closed 4 years ago

martingg88 commented 4 years ago

Any idea why always get 132 exit code following coding? This work fine on window platform, but not on Linux platform.

$script = 'var d = 1;console.log(d);'; file_put_contents($tempFilePath, $script); $process = new \Symfony\Component\Process\Process([$this->nodePath, $tempFilePath ], null, null, null, null); $process->mustRun()->getOutput();

spatie-bot commented 4 years ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.