docs: def call(cmd, input_file=None, input_text=None, encoding=None):
      """Call with arguments."""
  
      process = get_process(cmd)
  
      if input_file is not None:
          with open(input_file, 'rb') as f:
              process.stdin.write(f.read())
      if input_text is not None:
          process.stdin.write(input_text)
  
      return get_process_output(process, encoding)