Overview
| Artifact ID: | 46db7ef85e600050bb4121b73956c227c2910d82 |
|---|---|
| Ticket: | 217807ffffffffffffffffffffffffffffffffff
console1 wasn't opened for writing under win32 |
| User & Date: | nobody on 2000-10-26 00:43:57 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1191 Bug Version: 8.1b1 SubmitDate: '1999-02-11' LastModified: '1999-09-16' Severity: MED Status: Closed Submitter: pat ChangedBy: hobbs RelatedBugIDs: 582 OS: Windows NT OSVersion: Workstation NT4.0 Machine: X86 FixedDate: '2000-10-25' ClosedDate: '1999-09-16' Name: Aldo MAZZILLI ReproducibleScript: if [catch {open "|sh 2>@ stdout" r+} input] { Error } else { fconfigure $input -buffering none fileevent $input readable Log } ... proc Log {} { global input if {[gets $input line]<0} { close $input } else { .f.text insert end $line\n .f.text see end } } PutCmd {} { puts $input "$cmd \n" } ObservedBehavior: I'm trying to port a TCL script from SUN-OS to Win32 and I have the following message "console1 wasn't opened for writing" when I 'puts' a command in a pipeline. DesiredBehavior: The pipelined Shell must run the command that the user 'puts' on it and must get everything on stdout and stderr in order to display the both results in a text widget. Everything works correctly under Sun-OS but fails under win32. This is user error. There is a difference in stdin, stdout, stderr from Unix to Windows. Redman has been working on Windows consoles, so this may be fixed soon. 03/23/1999 18:11 - surles - - foundin changed to: "obsolete: 8.1b1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "console1 wasn't opened for writing under win32"
- type changed to: "Bug"