pwtools.common.backtick

pwtools.common.backtick(call)[source]

Convenient shell backtick replacement. Raise exception if stderr is not empty.

Examples

>>> print(backtick('ls -l'))