|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| SimpleShell () | |
| execute ($command) | |
| getOutput () | |
| getOutputAsList () | |
Data Fields | |
| $_output | |
Definition at line 20 of file shell_tester.php.
| execute | ( | $ | command | ) |
Actually runs the command. Does not trap the error stream output as this need PHP 4.3+.
| string | $command | The actual command line to run. |
Definition at line 39 of file shell_tester.php.
| getOutput | ( | ) |
Accessor for the last output.
Definition at line 50 of file shell_tester.php.
| getOutputAsList | ( | ) |
Accessor for the last output.
Definition at line 59 of file shell_tester.php.
| SimpleShell | ( | ) |
Executes the shell comand and stashes the output. public
Definition at line 27 of file shell_tester.php.
| $_output |
Definition at line 21 of file shell_tester.php.