7

how to use xterm to spawn a process in another terminal?

view full story
linux-howto

http://stackoverflow.com – In my bash script, i am trying to run a process in another terminal window using following : xterm -e /home/mohit/a.out Now I want to redirect the output using tee command as follows xterm -e /home/mohit/a.out 2>&1 | tee logfile But I am not getting anything in logfile. Any clues, why is this happening ? (HowTos)