[Xquartz-dev] Problem with redirection running wish script from Xquartz Menu

Daniel Cote dwcote at yahoo.com
Tue Oct 30 23:10:32 PDT 2012


I'm running Mac OS X Mountain Lion Version 10.8.2 on a mac mini intel based.
When I run my tcl script from an xterm command line it works fine but when I run it from the finder or the Xquartz menu it does't work. The problem seems to be redirection of stdout. The following statement is where it fails:

YEAR=`/usr/local/bin/xprompt.tcl -P "Enter Year(YYYY)? " -D "$THISYEAR"`

The statement works fine from the command line of an xterm but doesn't work from the Xquartz menu or the finder. Redirection of stdout doesn't seem to work from the Xquartz menu or the finder. This same script works fine under linux. Any ideas?

186,000 MPS isn't just a good idea, It's the law.

Daniel W. Cote

Email: dwcote at yahoo.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20121031/c33bcb06/attachment.html>


More information about the Xquartz-dev mailing list