Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-03
07:08 • Ticket [218391ffff] Exec output misdirection under "wish" status s... artifact: 806350c964 user: dgp
2000-10-26
08:21 • Closed ticket [218391ffff]. artifact: 0da805b912 user: welch
00:57 • New ticket [218391ffff]. artifact: 4899dd023d user: nobody

Exec output misdirection under "wish"

Closed / Fixed218391ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:57:01
OriginalBugID: 4994 Bug
Version: 8.3
SubmitDate: '2000-04-11'
LastModified: '2000-04-13'
Severity: MED
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
OSVersion: 4.0, service pack 6
Machine: HP Kayak
FixedDate: '2000-10-25'
ClosedDate: '2000-04-13'


Name:
Bob Cassels

Extensions:
?? whatever came with tkdiff

CustomShell:
None.

ReproducibleScript:
exec diff3 h:/bcassels/a h:/bcassels/b h:/bcassels/c
# diff3 is GNU diff3 (I can give you a copy if you need it)
# doesn't much matter what is in those (text) files
# this works under tclsh, but does not work under wish
# note that using "diff", rather than "diff3" works correctly under wish
# note that replacing "diff3" above with the name of a .bat file which does the diff3 works correctly under wish

ObservedBehavior:
Output from diff3 is discarded, rather than being returned.

DesiredBehavior:
Output from diff3 should be returned form the "exec".



The user notes that this works under tclsh, but not wish.
Wish is not a console app, like tclsh is, and therefore
does not have the same standard channels.  If the user
requires that kind of behavior, they must start wish from
the prompt with a | to 'tee' or 'cat32', or similar such
program. 
-- 04/13/2000 hobbs
welch Closed ticket [218391ffff]. [History diff]2000-10-26 08:21:17
dgp Ticket [218391ffff]: 4 changes [History diff]2001-04-03 07:08:40
Log in (anonymous is fine) to add a comment.