in reply to Re^2: embedding xterm in perl/tk window
in thread embedding xterm in perl/tk window

This is an old thread, but I have ta solution to keep the xterm active. Adding bash command to -e.
$cmd = "\'ls; bash\'"; system("xterm -into $xtId -hold -e $cmd &");