Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: perl scripting help

by ejm20 (Initiate)
on Jun 01, 2021 at 14:41 UTC ( [id://11133368]=note: print w/replies, xml ) Need Help??


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 (Bishop) 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).


    🦛

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11133368]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-03-28 10:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found