php-shellcommand icon indicating copy to clipboard operation
php-shellcommand copied to clipboard

A simple object oriented interface to execute shell commands in PHP

Results 5 php-shellcommand issues
Sort by recently updated
recently updated
newest added

$this->_stdErr = stream_get_contents($pipes[2]); $this->_stdOut = stream_get_contents($pipes[1]); Environment: Windows XAMPP Have to swap these two lines, https://stackoverflow.com/questions/31194152/proc-open-hangs-when-trying-to-read-from-a-stream

Hi, It looks like PHP compiled with '--enable-sigchild' will have issues with `php-shellcommand` when proc_* functions are used (by default). `php-shellcommand` will return an error when the command executes successfully....

Currently if a command is getting executed and that takes long then we will never know if it hangs, or still running, even if we want to show the progress...

It seems that addArg is doing more than it should, which is causing the code to be a little complicated. In my use case, I'm doing one of a few...