Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
host: remove preexec_fn from process run
According to documentation, to use setsid() before process.Popen via preexec_fn is a bad practice. The documentation suggests to use the start_new_session=True parameter in order to start a new session with a new group ID. Reference: https://docs.python.org/3/library/subprocess.html#popen-constructor Signed-off-by: Andrea Cervesato <[email protected]>
- Loading branch information