flownet.ert._run_subprocess module
- flownet.ert._run_subprocess.run_ert_subprocess(command: str, cwd: pathlib.Path, runpath: str, timeout: int) None
Helper function to run a ERT setup.
Should revert here to use the much simpler subprocess.run when https://github.com/equinor/libres/issues/984 is closed. See https://github.com/equinor/flownet/pull/119, and https://github.com/equinor/flownet/pull/271, on possible changes to revert.
- Parameters
command – Command to run.
cwd – The folder to run the command from.
runpath – Runpath variable given to ERT.
timeout – inactivity time out for killing FlowNet.
- Returns
Nothing