Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/subfission/doodad

Simple methods for common linux system calls
https://github.com/subfission/doodad

Last synced: 19 days ago
JSON representation

Simple methods for common linux system calls

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/subfission/doodad.svg)](https://travis-ci.org/subfission/doodad)
[![Latest Stable Version](https://poser.pugx.org/subfission/doodad/v/stable)](https://packagist.org/packages/subfission/doodad)
[![License](https://poser.pugx.org/subfission/doodad/license)](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()