bash error stream redirection issue
Bug #971802 reported by
Ewaryst Schulz
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found |
New
|
Undecided
|
Unassigned |
Bug Description
I typed 'xclip' in a terminal on ubuntu 11.10 but xclip was not installed, so the terminal gives me "... sudo apt-get install xclip" on stderr, but when I try 'xclip &> /tmp/out' a command-not-found crash message is written to the file at /tmp/out not the text from stderr
command-not-found version: 0.2.44:
terminal is using bash
To post a comment you must log in.
This is caused by python sys.stdout and sys.stderr to revert to ASCI encoding when the streams are redirected, thus breaking on unicode conversion to UTF-8