Hi,
I am trying to write a perl script that will run a command in a new terminal.
I found code to open a new terminal from my script but it will not run the command when it opens. Does anyone know how I can achieve this?
Thanks in advance.
Update
I would like this script to open a new Gnome window.
When I run the following command from the command line, it does what I am trying to achieve: gnome-terminal -x sh -c "ls|less"
Is there any way of getting this command to run from with in a perl script?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |