Crypt/GPG/Engine.php
public function run()
    {
        if ($this->_operation === '') {
            throw new Crypt_GPG_InvalidOperationException(
                'No GPG operation specified. Use Crypt_GPG_Engine::setOperation() ' .
                'before calling Crypt_GPG_Engine::run().'
            );
        }

        $this->_openSubprocess();
        $this->_process();
        $this->_closeSubprocess();
    }
public function run()
    {
        if ($this->_operation === '') {
            throw new Crypt_GPG_InvalidOperationException(
                'No GPG operation specified. Use Crypt_GPG_Engine::setOperation() ' .
                'before calling Crypt_GPG_Engine::run().'
            );
        }

        $this->_openSubprocess();
        $this->_process();
        $this->_closeSubprocess();
    }
Runs the current GPG operation.

This creates and manages the GPG subprocess.
This will close input/output file handles.

The operation must be set with {@link Crypt_GPG_Engine::setOperation()}
before this method is called.

@return void

@throws Crypt_GPG_InvalidOperationException if no operation is specified.
@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.

@see Crypt_GPG_Engine::reset()
@see Crypt_GPG_Engine::setOperation()