dimanche 1 janvier 2017

Run Node and Redis servers on laravel controller in windows OS

I want start Node and Redis server on laravel controller in Windows OS.
I create Two batch file and run on controller but not work correctly and When I run batch file manually, It work correctly. My code:

$process = new Process('C:\wamp\www\myprojectaddress\nodejs.bat');
$process->run();

$process = new Process('C:\wamp\www\myprojectaddress\redis.bat');
 $process->run();

Show me this error

ProcessTimedOutException in Process.php line 1190:
The process "C:\wamp\www\myprojectaddress\nodejs.bat" exceeded the timeout of 60 seconds.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire