File "Exec.php"
Full Path: /var/www/drive/laravel/horizon/src/SupervisorCommands/Exec.php
File size: 260 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Laravel\Horizon;
class Exec
{
/**
* Run the given command.
*
* @param string $command
* @return array
*/
public function run($command)
{
exec($command, $output);
return $output;
}
}