예제 #1
0
 def communicate_into(self, stdin_var, stderr_var, input=None):
     """Like Response.read, but stores the result in the remote variable ``dest``"""
     library.check_valid_name(stdin_var)
     library.check_valid_name(stderr_var)
     self._ssh.python.execute("%s, %s=%r.communicate(%r)" %
                              (stdin_var, stderr_var, input))
예제 #2
0
 def communicate_into(self, stdin_var, stderr_var, input=None):
     """Like Response.read, but stores the result in the remote variable ``dest``"""
     library.check_valid_name(stdin_var)
     library.check_valid_name(stderr_var)
     self._ssh.python.execute("%s, %s=%r.communicate(%r)" 
                              % (stdin_var, stderr_var, input))
예제 #3
0
 def read_into(self, dest, size=None):
     """Like Response.read, but stores the result in the remote variable ``dest``"""
     library.check_valid_name(dest)
     self._ssh.python.execute("%s=%r.read(%r)" % (dest, self, size))
예제 #4
0
 def read_into(self, dest, size=None):
     """Like Response.read, but stores the result in the remote variable ``dest``"""
     library.check_valid_name(dest)
     self._ssh.python.execute("%s=%r.read(%r)" % (dest, self, size))