code: def system(self, command, dir='', stdin='', env=None, queue=None, max_time=None, stream=False, tags=None, id=None):
          
          parts = shlex.split(command)
          if len(parts) == 0:
              raise ValueError('invalid command')
  
          args = {
              'name': parts[0],
              'args': parts[1:],
              'dir': dir,
              'stdin': stdin,
              'env': env,
          }
  
          self._system_chk.check(args)
          response = self.raw(command='core.system', arguments=args,
                              queue=queue, max_time=max_time, stream=stream, tags=tags, id=id)
  
          return response
docs: Execute a command
  
          :param command:  command to execute (with its arguments) ex: `ls -l /root`
          :param dir: CWD of command
          :param stdin: Stdin data to feed to the command stdin
          :param env: dict with ENV variables that will be exported to the command
          :param id: job id. Auto generated if not defined.
          :return: