in reply to debugging possible memory crash?

Indead not really a Perl issue. This is documented xterm behavior, it is supposed to exit as soon as the program it has started has completed. So instead of:
xterm -e 'perl xx.pl'
specify an extra xterm option to keep the window open after the Perl program has finished:
xterm -hold -e 'perl xx.pl'

Replies are listed 'Best First'.
Re^2: debugging possible memory crash?
by Anonymous Monk on Jun 11, 2007 at 06:45 UTC
    I'm running a shell within the xterm. Executing the Perl script takes down both the shell & xterm. This is expected behaviour? I would think I should be returning to the shell...
      once perl exits, xterm does what xterm want