Skip to content
Tcl Source Code View Ticket
Login

View Ticket

stderr redirection

Closed / Fixed218677ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:04:01
OriginalBugID: 1714 Bug
Version: 8.0.5
SubmitDate: '1999-04-05'
LastModified: '1999-10-21'
Severity: CRIT
Status: Released
Submitter: pat
ChangedBy: hobbs
OS: All Windows
OSVersion: NA
Machine: NA
FixedDate: '1999-10-21'
FixedInVersion: 8.2
ClosedDate: '1999-09-16'


Name:  Aldo MAZZILLI
email:  [email protected]
Support:  None
Severity:  1
OperatingSystem:  Windows NT
OperatingSystemVersion:  Workstation 4.0
Extensions:  TCL/TK 8.1
Synopsis:  stderr redirection

ReproducibleScript:
    ...
    set input [open "|sh -i 2>@ stdout" r+]
    ...
    

ObservedBehavior:
    channel "console1" wasn't opened for writing
    
    

DesiredBehavior:
    I want to open a Shell (in a pipeline) to put commands on it and get
    both results and errors from it.
    My script works well under SunOS but not under win32 using the Cygnus
    BASH Shell.
    How can I open "console1" for writing ??


This works as expected for tclsh in 8.2.1 on NT.
wish does not have access to the same stdin/stdout. 
-- 10/21/1999 hobbs
welch Closed ticket [218677ffff]. [History diff]2000-10-26 08:27:10
dgp Ticket [218677ffff]: 3 changes [History diff]2001-04-03 06:33:19
Log in (anonymous is fine) to add a comment.