xterm -e forAndExecXterm.sh | [reply] |
Thanks both for the point; I had seen this thread before: system("xterm -e yourchatprogram") is OK for a program --like a chat client-- that remains running. But what I want is firing up the terminal, runnig a single command (like ls) that outputs to the terminal and ends, and then the shell/terminal staying alive and processing CLI input till the user close it explicitely.
When the single command ends the terminal closes, comes it from system, fork/exec or backtics.
| [reply] |
So, aren't you asking what's really an OS question, rather than a Perl question?
| [reply] |