Skip to content

Commit

Permalink
Write end result to stderr
Browse files Browse the repository at this point in the history
We currently close stdout's fd, which leads to everything that gets
choose's output piped will not actually get it. Will need to
investigate. Wondering if this ever worked properly...
  • Loading branch information
geier committed May 10, 2016
1 parent 0168d70 commit 4e7565d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion choose
Expand Up @@ -270,4 +270,4 @@ if __name__ == "__main__":
with StreamTo():
choice = do_it(choice)
if choice is not None:
sys.stdout.write(choice + '\n')
sys.stderr.write(choice + '\n')

0 comments on commit 4e7565d

Please sign in to comment.