diff options
author | Nick White <git@njw.me.uk> | 2011-10-06 21:23:18 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-10-06 21:23:18 +0100 |
commit | 95990bd62f671be2f53ffecc470f34ba6f716226 (patch) | |
tree | b455fd3a756cb4acc1255458219935fb16d22326 | |
parent | 9d68e29dae73cb08534a34ddd54d55a23be16e3f (diff) |
Print stderr in gui as well
-rw-r--r-- | TODO | 2 | ||||
-rwxr-xr-x | getxbookgui | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -16,8 +16,6 @@ bug in get() & post(): if the \r\n\r\n after http headers is cut off between rec what happens if we receive not a http header? does recv loop forever, in a memory killing manner? -print stderr in gui as well - package for osx package for windows have tcl as a starpack. have it always reference the executables in its directory, and we're golden. diff --git a/getxbookgui b/getxbookgui index 504b6bb..2328f73 100755 --- a/getxbookgui +++ b/getxbookgui @@ -6,7 +6,7 @@ set bin [list getgbook getabook] proc go {} { set cmd "[.bin get [.bin curselection]] [.id get]" - set out [open "|$cmd" "r"] + set out [open "|$cmd 2>@1" "r"] while {![eof $out]} { .txt insert end [gets $out] .txt insert end "\n" |