Artifacts Associated With Ticket 217834
Ticket change [cec6bc76b6] (rid 96107) by nobody on 2000-10-26 00:44:36:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1682 Bug Version: 8.0.3 SubmitDate: '1999-03-31' LastModified: '1999-11-07' Severity: MED Status: Closed Submitter: pat ChangedBy: hobbs RelatedBugIDs: 710 OS: Solaris OSVersion: SunOS hostname 5.7 Generic sun4u sparc SUNW,Ultra-5_10 Machine: Other FixedDate: '2000-10-25' ClosedDate: '1999-11-07' Name:David F. Skoll ReproducibleScript: I define this procedure in tclsh 8.0.3 on Solaris 2.7: proc nonblock {} { set fp [open "|sleep 120" "RDONLY NONBLOCK"] fconfigure $fp -blocking 0 close $fp } ObservedBehavior: Reading the "close" manual page (and in fact perusing the Tcl source code) I expect this procedure to return immediately to its caller. However, the "close" blocks until the "sleep" exits. I thought that for non-blocking command pipelines, close was non-blocking too and that the children were reaped in the background. Is this a real bug or just misunderstanding on my part? DesiredBehavior: I expect an immediate return. - foundin initialized to: "obsolete: 8.0.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "60. NRE and coroutines"
- title initialized to: ""close" blocks even for non-blocking pipelines"
- type initialized to: "Bug"
Ticket change [26437e142a] (rid 88309) by welch on 2000-10-26 07:59:46:
- closedate changed to: "2000-10-26T00:59:46"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Invalid"
- status changed to: "Closed"
Ticket change [9534a1353a] (rid 106122) by dgp on 2001-04-05 08:20:15:
- closedate changed to: "2001-04-05T01:20:15"
- closer changed to: "dgp"
- subsystem changed to: "27. Channel Types"
- title changed to:
"close" blocks even for non-blocking pipelines