https://github.com/subfission/doodad
Simple methods for common linux system calls
https://github.com/subfission/doodad
Last synced: about 1 year ago
JSON representation
Simple methods for common linux system calls
- Host: GitHub
- URL: https://github.com/subfission/doodad
- Owner: subfission
- License: mit
- Created: 2015-04-21T08:55:29.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-12T08:27:26.000Z (about 10 years ago)
- Last Synced: 2025-02-06T11:52:49.424Z (over 1 year ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/subfission/doodad)
[](https://packagist.org/packages/subfission/doodad)
[](https://packagist.org/packages/subfission/doodad)
# Doodad
Simple methods for common linux system calls
## Installation
$ composer require "subfission/doodad" : "dev-master"
## Usage
$doodad = new Subfission\Doodad();
$return_object = $doodad->ignoreErrors()->execute('ls');
print_r( $return_object->getOutput());
If you would like to view output as html ready content, use this to
get a ready-for-web implementation.
echo $return_object->getOutputPretty($class_name)
Note this is not sanitized from XSRF attacks.
### Other Options
getReturnVal()
getStatusCode()