|
2001-04-13
| ||
| 23:08 | • Ticket [217807ffff] console1 wasn't opened for writing under win32 statu... artifact: 89b0b05eb8 user: dgp | |
|
2000-10-26
| ||
| 07:49 | • Closed ticket [217807ffff]. artifact: 9853612284 user: welch | |
| 00:43 | • New ticket [217807ffff]. artifact: 46db7ef85e user: nobody | |
console1 wasn't opened for writing under win32
Closed / Duplicate217807ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:43:57
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 -
welch Closed ticket [217807ffff].
[History diff]2000-10-26 07:49:19
dgp Ticket [217807ffff]: 3 changes
[History diff]2001-04-13 23:08:16
Log in (anonymous is fine) to add a comment.