Horje
execute shell script file in laravel command Code Example
execute shell script file in laravel command
use Symfony\Component\Process\Process;
use Symfony\Component\Process\Exception\ProcessFailedException;

$process = new Process('sh /folder_name/file_name.sh');
$process->run();

// executes after the command finishes
if (!$process->isSuccessful()) {
    throw new ProcessFailedException($process);
}

echo $process->getOutput();




Shell

Related
google translate for linux Code Example google translate for linux Code Example
how to install jupyter in excel Code Example how to install jupyter in excel Code Example
powershell command to get cpu info Code Example powershell command to get cpu info Code Example
check disk space folders linux Code Example check disk space folders linux Code Example
how to setup vim plugins Code Example how to setup vim plugins Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9