Package cliutils :: Module process :: Class _shell
[hide private]
[frames] | no frames]

Class _shell

source code

object --+
         |
        _shell

Singleton class that creates Process objects for commands passed.

Not meant to be instantiated; use the sh instance.

>>> p = sh.wc("-w")
>>> p.__class__
<class 'cliutils.process.Process'>
>>> p._command
['wc', '-w']
Instance Methods [hide private]
 
__getattribute__(self, attr)
x.__getattribute__('name') <==> x.name
source code

Inherited from object: __delattr__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__getattribute__(self, attr)

source code 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__
(inherited documentation)