Table of Contents

Class: SimplePrivilegedRunner ../../configlet.py

Default privileged runner implementation.

This class defines an interface for running a command with privilege on the system. The implementation of this class is kept to a bare minimum; it assumes that we already have privilege. Don't use this class directly; instead, use its interface and set the privileged runner in your config group to your class.

Methods   
run
  run 
run ( self,  command )

Run the given command with privilege.

Exceptions   
RuntimeError, "Command %s failed to execute, status %X" %( command, retval )

Table of Contents

This document was automatically generated on Mon Apr 15 13:20:44 2002 by HappyDoc version 2.0