samedi 5 janvier 2019

The process has been signaled with signal "11"

Hi I am trying to run a command using the Symfony process in laravel app, but I am receiving this error, any help is appreciated.

PHP version PHP 7.2.11 (cli) (built: Oct 16 2018 23:50:44) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.11, Copyright (c) 1999-2018, by Zend Technologies laravel/framework v5.7.19
symfony/console v4.1.9 symfony/process v4.1.9

I have also tried symfony/process v4.2.1 I get the same error

here is the process I am running

 $process = new Process($command);
 $process->setTimeout(PHP_INT_MAX);
 $prev = null;
 try {
     $process-> run(function ($type, $buffer) {
     if (Process::ERR === $type) {
     Log::error('process output: ' .$buffer);
     } else {
     Log::info('process output: ' .$buffer);
     }
     });
    }
    catch (ProcessSignaledException $e) {
        $prev = $e;
    }



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2Sza03b
via IFTTT

Aucun commentaire:

Enregistrer un commentaire