- Let getExecCommand() not cache the created command string
- Include PHP 5.3 in version requirements
- Add .gitattributes to reduce package size
- Issue #44 Fix potential security issue with escaping shell args (@Kirill89 / https://snyk.io/)
- Issue #24 Implement timeout feature
- Issue #20 Refactor handling of stdin/stdou/sterr streams with proc_open(). By default these streams now operate in non-blocking mode which should fix many hanging issues that were caused when the command received/sent a lot of input/output. This is the new default on Non-Windows systems (it's not supported on Windows, though). To get the old behavior the nonBlockingMode option can be set to false.
- Allow command names with spaces on Windows (@Robindfuller )
- Allow stdin to be a stream or a file handle (@Arzaroth)
- Add setStdIn() which allows to pipe an input string to the command (@martinqvistgard)
- Issue #22 Fix execution of relative file paths on windows
- Reverted changes for Issue #20 as this introduced BC breaking problems
- Issue #20: Read stderr before stdout to avoid hanging processes
- Issue #16: Command on different drive didn't work on windows
- Issue #1: Command with spaces didn't work on windows
- Add option to return untrimmed output and error
- Issue #7: UTF-8 encoded arguments where truncated
- Issue #6: Solve
proc_open()
pipe configuration for both, Windows / Linux
- Undid
proc_open()
changes as it broke error capturing
- Improve
proc_open()
pipe configuration
- Add
$useExec
option to fix Windows issues (#3)
- Add
getExecuted()
to find out execution status of the command
- Add
$escape
parameter toaddArg()
to override escaping settings per call
- Minor fixes
- Initial release