Derived from the Pylint linter.
What it does#
Checks for uses of
subprocess.Popen with a
Why is this bad?#
preexec_fn argument is unsafe within threads as it can lead to
preexec_fn is targeted for deprecation.
Instead, consider using task-specific arguments such as
process_group. These are not prone to deadlocks
and are more explicit.