folleah/shellrun

There is no license information available for the latest version (v0.2.4) of this package.

Command Line OOP-style executor.

v0.2.4 2018-06-01 13:15 UTC

This package is not auto-updated.

Last update: 2024-09-29 05:09:19 UTC


README

Example code:

<?php
namespace Folleah\Shellrun;

require 'vendor/autoload.php';

// run php in interactive mode
$runtime = (new Command('php'))
    ->withArg('-a')
    ->runtime();

$runtime->write("echo 'test';");
$runtime->read();
/**
* Interactive mode enabled
* test
 */