parameters: (debugger, command_line, result, dict)
docstring: Execute the command (a string) in a subshell.
docstring_summary: Execute the command (a string) in a subshell.
docstring_tokens: Execute the command ( a string ) in a subshell .
function: def system(debugger, command_line, result, dict):
      """Execute the command (a string) in a subshell."""
      args = shlex.split(command_line)
      process = subprocess.Popen(
          args,
          stdout=subprocess.PIPE,
          stderr=subprocess.PIPE)
      output, error = process.communicate()
      retcode = process.poll()
      if output and error:
          print("stdout=>\n", output)
          print("stderr=>\n", error)
      elif output:
          print(output)
      elif error:
          print(error)
      print("retcode:", retcode)
function_tokens: def system ( debugger , command_line , result , dict ) : args = shlex . split ( command_line ) process = subprocess . Popen ( args , stdout = subprocess . PIPE , stderr = subprocess . PIPE ) output , error = process . communicate ( ) retcode = process . poll ( ) if output and error : print ( "stdout=>\n" , output ) print ( "stderr=>\n" , error ) elif output : print ( output ) elif error : print ( error ) print ( "retcode:" , retcode )