code: def run(self, cmd, stdin=None):
      proc = Popen(
          cmd,
          shell=True,
          stdin=PIPE,
          stdout=PIPE,
          universal_newlines=True,
      )
      # print("**********************Process id****************")
      # print(proc.pid)
      self.proc_pid = proc.pid
      return proc.communicate(input=stdin)[0]
  
imports: from subprocess import Popen, PIPE
  from threading import Thread, Lock
  from queue import Queue
  from time import sleep
  from sys import stderr
  import re
  import json
label_desc: Use image node_id 4 for calling the RemoteController obj's underlying member method code with example usage: obj.run(cmd, stdin) and returns: proc