in reply to Forking an operative terminal

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.

Then you need to find the correct invocation :) on win32 its  cmd /x /k the /k means remain open

Replies are listed 'Best First'.
Re^2: Forking an operative terminal
by perlgrim (Initiate) on Dec 31, 2012 at 10:07 UTC
    Yes, I've tried every combination, 'xterm -e' , 'gnome-terminal --execute' , 'gnome-terminal --command' ... and sequences including 'xterm -e somecommand; read -p' , "gnome-terminal --command 'somecommand; bash'"... , but can not find it out. Thanks.