Overview
| Artifact ID: | 786efe175e24d16aea8459c4dfcaf2f215aab7f6 |
|---|---|
| Ticket: | 219149ffffffffffffffffffffffffffffffffff
bad interaction of input redirect from named pipe with backg |
| User & Date: | nobody on 2000-10-26 05:02:20 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 950 Bug Version: 8.0p2 SubmitDate: '1998-12-14' LastModified: '1999-12-07' Severity: SER Status: Assigned Submitter: pat ChangedBy: hobbs OS: Linux Machine: Other FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: Harald ReproducibleScript: Run the following script. #!/bin/sh # exec tclsh8.0 "$0" exec mkfifo fifo puts [exec cat <fifo >@stdout &] ObservedBehavior: Although there is an `&' at the end of the exec-arguments, the exec does not return. DesiredBehavior: If `&' is at the end of exec-args, exec should always return soon, independent of input redirection. There is a not-so-perfect workaround. The fifo can be opened with NONBLOCK and the handle to the opened fifo can be used to redirect input. However then the child-process sees a non-blocking input channel, which is probably not what was intended. -- Verified in 8.2.2 on Solaris. -- 12/07/1999 hobbs
- foundin changed to: "obsolete: 8.0p2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "62. (unused)"
- title changed to:
bad interaction of input redirect from named pipe with backg
- type changed to: "Bug"