Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Forking an operative terminal

by zentara (Archbishop)
on Dec 31, 2012 at 11:48 UTC ( #1011050=note: print w/replies, xml ) Need Help??

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
      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?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011050]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (13)
As of 2016-10-27 19:06 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (369 votes). Check out past polls.