tcl::process manpage and TIP does not match implementation
Closed / Fixedf5d0e75a49764f68093df4175344045a5f2d4ae7Created 2 years agoUpdated 2 years ago
Descriptionmarkdown2024-09-15 03:02:22
The tcl::process status manpage (and TIP 462) state - If pids is specified as a list of PIDs then the command only returns the status of the matching subprocesses if they exist, and raises an error otherwise.
In the implementation, no error is raised, the pids that are not subprocesses are simply ignored (which I think is actually the preferable behavior).
Either way, docs/TIP and implementation should be made consistent.
Same issue with tcl::process purge.
Referenced by1
2ed32fc21aFix [f5d0e75a49]. Correct tcl::process documentation for non-subprocesses check-in2025-02-19 05:43:03
apnadkarniplain2025-02-11 17:10:01
Proposed fix in [bug-7a71c8de17]
apnadkarniplain2025-02-12 15:25:09
Proposed documents the current implementation.
oehharwiki2025-02-12 17:00:59
Change is ok and may be merged. The TIP might be amended. Thanks for all, Harald
jan.nijtmansplain2025-02-12 17:02:13
+1
pooryorickwiki2025-02-14 00:06:15
The fix is in [bug-f5d0e75a49], not [bug-7a71c8de17].
apnadkarniplain2025-02-14 02:51:09
Oops, thanks, I should have said commit [7a71c8de17].
apnadkarniplain2025-02-19 05:45:22
Fixed in [2ed32fc21a].
Log in (anonymous is fine) to add a comment.