`dump --subprocesses` aborts on first non-Python child instead of skipping
Author: ravwojdylaCreated May 1, 2026Updated May 1, 2026
When `py-spy dump --pid <PID> --subprocesses` walks a process tree that contains a non-Python child (e.g. a Go binary), py-spy fails the entire command with `Error: Failed to find python version from target process` and exits non-zero - even though the parent and any earlier siblings were dumped successfully.
Source: benfred/py-spy