[issue37091] subprocess - uncaught PermissionError in send_signal can cause hang

2022-01-30 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37091] subprocess - uncaught PermissionError in send_signal can cause hang

2022-01-20 Thread Irit Katriel
Irit Katriel added the comment: I think this was fixed in Issue37424. -- nosy: +iritkatriel resolution: -> duplicate status: open -> pending superseder: -> subprocess.run timeout does not function if shell=True and capture_output=True ___ Python

[issue37091] subprocess - uncaught PermissionError in send_signal can cause hang

2019-09-11 Thread Gregory P. Smith
Change by Gregory P. Smith : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37091] subprocess - uncaught PermissionError in send_signal can cause hang

2019-06-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: even with that initially proposed patch, the subprocess.run code is going to hang if the .kill() fails without raising an exception: The run() TimeoutExpired path calls communicate() after the kill to consume all remaining output:

[issue37091] subprocess - uncaught PermissionError in send_signal can cause hang

2019-05-30 Thread Gregory P. Smith
Gregory P. Smith added the comment: Clarifying: The problem is that the TimeoutExpired exception that is desired was replaced with a PermissionError that the caller isn't expecting to catch and handle. -- ___ Python tracker

[issue37091] subprocess - uncaught PermissionError in send_signal can cause hang

2019-05-30 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37091] subprocess - uncaught PermissionError in send_signal can cause hang

2019-05-30 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37091] subprocess - uncaught PermissionError in send_signal can cause hang

2019-05-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37091] subprocess - uncaught PermissionError in send_signal can cause hang

2019-05-29 Thread hw
New submission from hw <13hu...@gmail.com>: Python 3.7.3 Ubuntu 18.10 Cosmic https://github.com/python/cpython/pull/13669 Encountered a condition where uncaught PermissionError caused a hang running a subprocess command with sudo -u Traceback (most recent call last): File