perlgrim has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I'm struggling to fork/span a terminal from my script, a GTK2-perl single-window one, run there an OS command to get its output and then remain --the terminal-- alive and operative, accepting user input. The terminal/shell should become completely independent, no need to communicate with the parent process, that has to continue with its own life.
I'm working in Ubuntu/Debian boxes, and have tried tweaking xterm and gnome-terminal options, combined with exec, system, fork... but the best I get is a flashing process that goes away.
Help from their Wisdom would be appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Forking an operative terminal
by zentara (Cardinal) on Dec 31, 2012 at 11:48 UTC | |
by Anonymous Monk on Dec 31, 2012 at 11:51 UTC | |
by perlgrim (Initiate) on Dec 31, 2012 at 13:51 UTC | |
by ww (Archbishop) on Dec 31, 2012 at 14:23 UTC | |
|
Re: Forking an operative terminal
by Anonymous Monk on Dec 31, 2012 at 09:15 UTC | |
by perlgrim (Initiate) on Dec 31, 2012 at 10:07 UTC | |
|
Re: Forking an operative terminal
by Anonymous Monk on Dec 31, 2012 at 15:42 UTC | |
by perlgrim (Initiate) on Dec 31, 2012 at 17:09 UTC | |
by Anonymous Monk on Dec 31, 2012 at 19:03 UTC | |
by Anonymous Monk on Dec 31, 2012 at 19:06 UTC | |
by perlgrim (Initiate) on Jan 01, 2013 at 12:13 UTC |