Artifacts Associated With Ticket 217807
Ticket change [46db7ef85e] (rid 99589) by nobody on 2000-10-26 00:43:57:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.1b1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "console1 wasn't opened for writing under win32"
- type initialized to: "Bug"
Ticket change [9853612284] (rid 110583) by welch on 2000-10-26 07:49:19:
- closedate changed to: "2000-10-26T00:49:19"
- closer changed to: "welch"
- priority changed to: "1 Zero"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
Ticket change [89b0b05eb8] (rid 127271) by dgp on 2001-04-13 23:08:16:
- closedate changed to: "2001-04-13T16:08:16"
- closer changed to: "dgp"
- subsystem changed to: "None"