|
2001-04-05
| ||
| 08:20 | • Ticket [218678ffff] repeated "exec"s eventually fail statu... artifact: 354cd05bff user: dgp | |
|
2000-10-26
| ||
| 08:27 | • Closed ticket [218678ffff]. artifact: 25edf104a8 user: welch | |
| 01:04 | • New ticket [218678ffff]. artifact: 2ba37c99c3 user: nobody | |
repeated "exec"s eventually fail
Closed / Fixed218678ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:04:02
OriginalBugID: 1717 Bug
Version: 8.0.4
SubmitDate: '1999-04-05'
LastModified: '1999-10-29'
Severity: MED
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: Windows 95
FixedDate: '1999-10-29'
FixedInVersion: 8.2
ClosedDate: '2000-10-25'
Name: ian wild
ReproducibleScript:
# this script causes 8.0p2 to fail under Win95
set script [info script]
button .b -text "Press me" -command {
exec [info nameofexecutable] -f $script &
exit
}
pack .b
ObservedBehavior:
On Win95 after the eighth click the interpreter fails with a "can't
dup stderr handle" message.
DesiredBehavior:
The script should fork a copy of itself, then die. I should be
able to continue doing this all day.
Comments:
I'd guess each child is inheriting more and more handles it
doesn't want. Under Linux the script works perfectly (and
/proc shows only three FDs open).
This has been fixed in/before 8.2 (exec stuff reworked a
couple of times since 8.0.4).
-- 10/29/1999 hobbs
welch Closed ticket [218678ffff].
[History diff]2000-10-26 08:27:10
dgp Ticket [218678ffff]: 4 changes
[History diff]2001-04-05 08:20:13
Log in (anonymous is fine) to add a comment.