rox.suchild
index

This is the child program run by the su module. Do not import this module.

 
Classes
       
rox.proxy.SlaveProxy(rox.proxy.Proxy)
SuSlave
Slave
Watch

 
class Slave
      This object runs as another user. Most methods behave in a similar
way to the standard python methods of the same name.
 
  Methods defined here:
chmod(self, path, mode)
close(self, stream)
getuid(self)
open(self, path, mode='r')
read(self, stream, length=0)
rename(self, old, new)
rmtree(self, path)
setuid(self, uid)
spawnvpe(self, mode, file, args, env=None)
unlink(self, path)
waitpid(self, pid, flags)
write(self, stream, data)

 
class SuSlave(rox.proxy.SlaveProxy)
      A simple implementation of SlaveProxy that doesn't use gtk
 
  Methods defined here:
__init__(self, to_parent, from_parent, slave)
enable_read_watch(self)
enable_write_watch(self)

 
class Watch
      Contains a file descriptor and a function to call when it's ready
 
  Methods defined here:
__init__(self, fd, fn)
fileno(self)