code: def run_command_line(args=None):
      """Run command line ``[pyfile | -m mod | -c cmd | -] [arg] ...``.
  
      * ``pyfile`` : program read from script file
      * ``-m mod`` : run library module as a script
      * ``-c cmd`` : program passed in as a command string
      * ``-``      : program read from standard input (``sys.stdin``)
      * ``arg ...``: arguments passed to program in ``sys.argv[1:]``
      """
      # pylint: disable=import-outside-toplevel
      import sys
      from runpy import run_module, run_path
  
      def run_string(
          string,
          init_globals=None,
          run_name=None,
          filename="<string>",
          argv0="-c",
      ):
          from runpy import _run_module_code
  
          code = compile(string, filename, "exec", 0, 1)
          kwargs = {"script_name": argv0}
          return _run_module_code(
              code, init_globals, run_name, **kwargs
          )
  
      sys.argv[:] = args if args is not None else sys.argv[1:]
  
      if sys.argv[0] == "-":
          cmd = sys.stdin.read()
          run_string(
              cmd, run_name="__main__", filename="<stdin>", argv0="-"
          )
      elif sys.argv[0] == "-c":
          cmd = sys.argv.pop(1)  # Remove "cmd" from argument list
          run_string(
              cmd, run_name="__main__", filename="<string>", argv0="-c"
          )
      elif sys.argv[0] == "-m":
          del sys.argv[0]  # Remove "-m" from argument list
          run_module(sys.argv[0], run_name="__main__", alter_sys=True)
      else:
          from os.path import realpath, dirname
  
          if not getattr(sys.flags, "isolated", 0):  # pragma: no branch
              sys.path[0] = realpath(
                  dirname(sys.argv[0])
              )  # Fix sys.path
          run_path(sys.argv[0], run_name="__main__")
  
label_desc: Use image node_id 1 for calling a global function with example usage: run_command_line(args) and returns: _run_module_code