Re: [OE-core] [PATCH 2/9] icecc: Remove output on stderr when calling which

2013-11-12 Thread Tobias Henkel
On 11/12/2013 12:04 PM, Enrico Scholz wrote: -return d.getVar('ICECC_PATH') or os.popen("which icecc").read()[:-1] +return d.getVar('ICECC_PATH') or os.popen("which icecc 2> /dev/null").read()[:-1] ~~ I think, this can/should

Re: [OE-core] [PATCH 2/9] icecc: Remove output on stderr when calling which

2013-11-12 Thread Enrico Scholz
Tobias Henkel writes: > -return d.getVar('ICECC_PATH') or os.popen("which icecc").read()[:-1] > +return d.getVar('ICECC_PATH') or os.popen("which icecc 2> > /dev/null").read()[:-1] ~~ I think, this can/should be replaced by

[OE-core] [PATCH 2/9] icecc: Remove output on stderr when calling which

2013-11-12 Thread Tobias Henkel
From: Tobias Henkel The icecc class often uses 'which' for determining paths. This leads to many messages on stderr in case 'which' doesn't find the executable. Redirecting stderr to /dev/null inhibits these messages as the result is handled correctly anyway. Signed-off-by: Tobias Henkel --- m