From 95990bd62f671be2f53ffecc470f34ba6f716226 Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 6 Oct 2011 21:23:18 +0100 Subject: Print stderr in gui as well --- TODO | 2 -- getxbookgui | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/TODO b/TODO index dad013d..ece973d 100644 --- a/TODO +++ b/TODO @@ -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" -- cgit v1.2.3