background process prevents tclsh from exitting
Closed / Fixed218826ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:06:05
OriginalBugID: 2268 Bug
Version: 8.1.1
SubmitDate: '1999-06-21'
LastModified: '1999-10-21'
Severity: SER
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: SunOS
Machine: Sparc
FixedDate: '1999-10-21'
FixedInVersion: 8.2
ClosedDate: '2000-10-25'
Name:
Ken Sedgwick
ReproducibleScript:
I am using tclsh to control a daemon process.
The script uses "exec $cmd &" to start the background process.
With 8.1.1, the script does not complete as it did in 8.0 and prior.
The following script illustrates the problem:
exec sleep 120 &
exit 0
Prior to 8.1.1, this script returns right away.
With 8.1.1 this script waits until the exec'd process terminates
to return.
I either need to find a workaround, or retool my run-control scripts
to not use tcl.
This works as expected on 8.2 for Solaris.
-- 10/21/1999 hobbs
welch Closed ticket [218826ffff].
[History diff]2000-10-26 08:30:12
dgp Ticket [218826ffff]: 3 changes
[History diff]2001-04-23 02:57:33
Log in (anonymous is fine) to add a comment.