in reply to Re: perl scripting help
in thread perl scripting help

The xterm does open but closes after the sleep command. How can it stay open? Thanks!!!

Replies are listed 'Best First'.
Re^3: perl scripting help
by hippo (Archbishop) on Jun 01, 2021 at 14:50 UTC

    The same way you would without using Perl at all. eg:

    system ('xterm', '-e', 'ls && read line');

    will happily leave the xterm open indefinitely until the user closes it (or submits a line).


    🦛