Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
08:20 • Ticket [218612ffff] Incorrect status returned from [eval exec <some progr... artifact: bef971ccdb user: dgp
2000-10-26
08:25 • Closed ticket [218612ffff]. artifact: 7d0cdba891 user: welch
01:03 • New ticket [218612ffff]. artifact: fe5aadfe9b user: nobody

Incorrect status returned from [eval exec <some program name

Closed / Fixed218612ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:03:05
OriginalBugID: 1449 Bug
Version: 8.0.3
SubmitDate: '1999-03-04'
LastModified: '1999-12-03'
Severity: SER
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: IRIX
Machine: Other
FixedDate: '1999-12-03'
FixedInVersion: 8.0.5
ClosedDate: '2000-10-25'


Name:
Jim A. Galbraith

ReproducibleScript:
The following line is an excerpt from a much larger script.  It works as expected on NT and Dec Alpha machines.

set PID [ eval exec <some program name> ]
puts "PID: $PID"

ObservedBehavior:
This excerpt may be executed multiple times, based on the desires of the user.  After the first execution a valid PID is presented.  After coming around and executing it a second, third, ... time, the pid displayed contains:
"-1 xxxxxxxx" or "0 xxxxxxxx", where xxxxxxxx is a valid, correct PID. (NOTE: the double quotes are not present).  The program being executed does indeed get created and the PID displayed is correct - only the leading -1/0 are in question.

DesiredBehavior:
I expect that all invocations of this would return a valid PID or an error for all invocations.  This behavior is not present on the NT and Dec alpha machines I have run this on.



This works as expected in 8.0.5 on IRIX and NT. 
-- 12/03/1999 hobbs
welch Closed ticket [218612ffff]. [History diff]2000-10-26 08:25:10
dgp Ticket [218612ffff]: 4 changes [History diff]2001-04-05 08:20:13
Log in (anonymous is fine) to add a comment.