When I issue the command sudo fio myjog | tee mylog
in a terminal window,
I can save the fio
log into the mylog
file.
But if I issue the command sudo gnome-terminal -x sudo fio myjog | tee mylog
, the mylog
file will be created without any text inside.
How to capture a printed log from gnome-terminal -x
?