(self, data, end=True)
Send data to the running process.

        :param data: The byte string to send
        :param end: Whether this is the last input to send
        :return:
Send data to the running process.
Send data to the running process .
def send(self, data, end=True):
        """
        Send data to the running process.

        :param data: The byte string to send
        :param end: Whether this is the last input to send
        :return:
        """
        self.shell.send("stdin", data, command_id=self.id, end=end)
def send ( self , data , end = True ) : self . shell . send ( "stdin" , data , command_id = self . id , end = end )