#734 Incorrect status returned from [eval exec <some program name

obsolete: 8.0.3
closed-fixed
nobody
2
2001-04-05
2000-10-26
Anonymous
No

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

Discussion

  • Brent B. Welch
    Brent B. Welch
    2000-10-26

    • priority: 5 --> 2
    • status: open --> closed-fixed
     
  • Don Porter
    Don Porter
    2001-04-05

    • labels: 104241 --> 27. Channel Types
    • summary: Incorrect status returned from [eval exec <some program name --> Incorrect status returned from [eval exec &lt;some program name