Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2025-02-19
05:45 • Closed ticket [f5d0e75a49]: tcl::process manpage and TIP does not match implemen... artifact: 78f939f3c0 user: apnadkarni
05:43
Fix [f5d0e75a49]. Correct tcl::process documentation for non-subprocesses check-in: 2ed32fc21a user: apnadkarni tags: trunk, main
2025-02-14
02:51 • Ticket [f5d0e75a49] tcl::process manpage and TIP does not match implementation</... artifact: cd83eb335a user: apnadkarni
00:06 • Ticket [f5d0e75a49]: 3 changes artifact: 8faec2ecac user: pooryorick
2025-02-12
17:02 • Ticket [f5d0e75a49]: 3 changes artifact: a2932fa692 user: jan.nijtmans
17:00 • Ticket [f5d0e75a49]: 4 changes artifact: 3c9224b95b user: oehhar
15:25 • Ticket [f5d0e75a49]: 3 changes artifact: f1905a69f0 user: apnadkarni
2025-02-11
17:10 • Ticket [f5d0e75a49]: 3 changes artifact: 9d1b2ffcb7 user: apnadkarni
2024-09-15
03:02 • New ticket [f5d0e75a49]. artifact: 5967915533 user: apnadkarni

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.