actio_python_utils.utils.open_pipe¶
- actio_python_utils.utils.open_pipe(command, mode='r', buff=1048576)[source]¶
Runs a
subprocess.Popenand either retains input or output- Parameters:
command (
str) – The command to executemode (
str, default:'r') – The mode with which to handle process, “r” = read, “w” = writebuff (
int, default:1048576) – Buffer size
- Return type:
None