Taragolis commented on PR #23872:
URL: https://github.com/apache/airflow/pull/23872#issuecomment-1134954306

   Also I found  call `os.setpgid(0, 0)` in two other places
   
   
https://github.com/apache/airflow/blob/f352ee63a5d09546a7997ba8f2f8702a1ddb4af7/airflow/task/task_runner/standard_task_runner.py#L55-L56
   
   
https://github.com/apache/airflow/blob/f352ee63a5d09546a7997ba8f2f8702a1ddb4af7/airflow/dag_processing/manager.py#L213-L216
   
   Seems like in this places hardly possible to same issue because it spawn as 
new process.
   
   However IMHO better create create function which create new process group if 
it call by not session leader rather than fix in one place 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to