https://github.com/apinstein/shellcommand
A generic wrapper for execution of shell command to make it easy to horizontally scale such work.
https://github.com/apinstein/shellcommand
Last synced: about 1 year ago
JSON representation
A generic wrapper for execution of shell command to make it easy to horizontally scale such work.
- Host: GitHub
- URL: https://github.com/apinstein/shellcommand
- Owner: apinstein
- Created: 2013-02-22T19:41:54.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2017-04-28T11:16:05.000Z (about 9 years ago)
- Last Synced: 2025-06-28T18:07:52.330Z (about 1 year ago)
- Language: PHP
- Size: 63.5 KB
- Stars: 2
- Watchers: 5
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ShellCommand
============
A generic wrapper for execution of shell command to make it easy to horizontally scale such work.
Security Notice
===============
This code is not expected to accept arbitrary user input. If you create a ShellCommand without using escapeshellarg() and escapeshellcmd() then you are using this insecurely.
The reason we don't do this in ShellCommand is that escapeshellcmd() neuters pipes and redirection, and escapeshellarg() requires parsing which would introduce its own security risks.
Therefore we just punt on security and tell you to sanitize your inputs before creating a ShellCommand.