actio_python_utils.utils.open_pipe

actio_python_utils.utils.open_pipe(command, mode='r', buff=1048576)[source]

Runs a subprocess.Popen and either retains input or output

Parameters:
  • command (str) – The command to execute

  • mode (str, default: 'r') – The mode with which to handle process, “r” = read, “w” = write

  • buff (int, default: 1048576) – Buffer size

Return type:

None