Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Process

Promise/A+ wrapper around a proc_open function

Usage


require __DIR__ . './vendor/autoload.php';

Affinity4\Process\Process::execute('dir .')->then(
    // On success
    function ($output) {
        echo $output; // Show output from "dir ." command (Windows)
    },

    // On Fail
    function ($output) {
        // Log error or do something else...
    }
);

Licence

MIT

© 2018

About

PHP Promise/A+ wrapper around a proc_open function

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages