]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151496: Use process groups in TraceBackend in test_dtrace (#152039)
authorstratakis <cstratak@redhat.com>
Wed, 24 Jun 2026 13:46:56 +0000 (15:46 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Jun 2026 13:46:56 +0000 (13:46 +0000)
commit1785f4b35f899704df0be54cba3776906186b2b1
tree58946be3115aa6f3bdf5b144b928237dbecf81b1
parentff781d52d451db56e154aac35ae7f2c41b1695a4
gh-151496: Use process groups in TraceBackend in test_dtrace (#152039)

Run the generic DTrace/SystemTap commands in a new process group and
terminate the whole group on timeout.

This prevents a forked tracer child from keeping stdout/stderr pipes
open after the direct tracer process is killed.
Lib/test/test_dtrace.py