Zephir\FileSystem\HardDisk::system PHP Method

system() public method

Executes a command and saves the result into a temporary entry
public system ( string $command, string $descriptor, string $destination )
$command string
$descriptor string
$destination string
    public function system($command, $descriptor, $destination)
    {
        switch ($descriptor) {
            case 'stdout':
                system($command . ' > ' . $this->basePath . $destination);
                break;
            case 'stderr':
                system($command . ' 2> ' . $this->basePath . $destination);
                break;
        }
    }