daemon/core/netns/vnodeclient.py
def redircmd(self, infd, outfd, errfd, args, wait = True):
        '''
        Execute a command on a node with standard input, output, and
        error redirected according to the given file descriptors.
        '''
        if not USE_VCMD_MODULE:
            raise NotImplementedError
        if not self.cmdchnl.connected():
            raise ValueError, "self.cmdchnl not connected"
        tmp = self.cmdchnl.redircmd(infd, outfd, errfd, args)
        if not wait:
            return tmp
        tmp = tmp.wait()
        if tmp:
            self.warn("cmd exited with status %s: %s" % (tmp, str(args)))
        return tmp

        Execute a command on a node with standard input, output, and
        error redirected according to the given file descriptors.
        
Execute a command on a node with standard input, output, and
error redirected according to the given file descriptors.
Execute a command on a node with standard input output and error redirected according to the given file descriptors .
def redircmd(self, infd, outfd, errfd, args, wait = True):
        if not USE_VCMD_MODULE:
            raise NotImplementedError
        if not self.cmdchnl.connected():
            raise ValueError, "self.cmdchnl not connected"
        tmp = self.cmdchnl.redircmd(infd, outfd, errfd, args)
        if not wait:
            return tmp
        tmp = tmp.wait()
        if tmp:
            self.warn("cmd exited with status %s: %s" % (tmp, str(args)))
        return tmp
def redircmd ( self , infd , outfd , errfd , args , wait = True ) : if not USE_VCMD_MODULE : raise NotImplementedError if not self . cmdchnl . connected ( ) : raise ValueError , "self.cmdchnl not connected" tmp = self . cmdchnl . redircmd ( infd , outfd , errfd , args ) if not wait : return tmp tmp = tmp . wait ( ) if tmp : self . warn ( "cmd exited with status %s: %s" % ( tmp , str ( args ) ) ) return tmp
Execute a command on a node with standard input, output, and
error redirected according to the given file descriptors.
Execute a command on a node with standard input output and error redirected according to the given file descriptors .
'''
        Execute a command on a node with standard input, output, and
        error redirected according to the given file descriptors.
        '''
self
infd
outfd
errfd
args
wait