Skip to content

PHP Promise/A+ wrapper around a proc_open function

License

Notifications You must be signed in to change notification settings

affinity4/process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages