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 /getxbookgui | |
parent | 9d68e29dae73cb08534a34ddd54d55a23be16e3f (diff) |
Print stderr in gui as well
Diffstat (limited to 'getxbookgui')
-rwxr-xr-x | getxbookgui | 2 |
1 files changed, 1 insertions, 1 deletions
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" |