in reply to Forking an operative terminal

This has been also asked and answered at ubuntu forums

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^2: Forking an operative terminal
by Anonymous Monk on Dec 31, 2012 at 11:51 UTC
    xterm -e forAndExecXterm.sh
      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.
        So, aren't you asking what's really an OS question, rather than a Perl question?