Add a second command following the first that will wait for input. Something like (please excuse my lack of knowledge of *nix shell syntax):
xterm -into $someid -e programname & echo -
In reply to Re^3: embedding xterm in perl/tk window
by BrowserUk
in thread embedding xterm in perl/tk window
by diamantis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |