My question is as simple as what the zenity --text args say in the example... but what is causing this 100% CPU grab by the redirection?
...(and by the way, is this particular usage of < actually called redirection. It seems like it is creating a direction, rather than re-directing )..
echo "Peacocks talking of the colour grey."> test cat test | zenity --text='This does NOT hog the CPU' --list --column='#' --width=450 <test zenity --text='This hogs 100% of CPU usage' --list --column='#' --width=450 I'm quite happy to use cat test | (because it isn't useless in this case; it works and < and | are somehow different, but I haven't been able to track it down again...
To be clear: <test and cat test | both work. The zenity dialog appears and is fully functional in both cases, but for as long as the <test version of the dialog is kept open, it uses 100% CPU (of one core)... 94% on the single "core" VMs...
testfile exists, I do not see any difference.