code: def execute_command(args, shell=False, cwd=None, env=None, stdin=None, stdout=None, stderr=None, cmd_encoding='utf-8'):
      
      return subprocess.call(
          args=__convert_args(args, shell, cmd_encoding), shell=shell, cwd=cwd, env=__convert_env(env, cmd_encoding),
          stdin=stdin, stdout=stdout, stderr=stderr)
docs: Execute external command
      :param args: command line arguments : [unicode]
      :param shell: True when using shell : boolean
      :param cwd: working directory : string
      :param env: environment variables : dict
      :param stdin: standard input
      :param stdout: standard output
      :param stderr: standard error
      :param cmd_encoding: command line encoding: string
      :return: return code