Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: running system commands, and getting return codes/status

by tybalt89 (Monsignor)
on Nov 27, 2021 at 01:49 UTC ( [id://11139160]=note: print w/replies, xml ) Need Help??


in reply to running system commands, and getting return codes/status

The system call prevents the event loop from running. You could put an $mw->update; call just before the system call, but the real way to handle this kind of thing is to use Tk::IO .

Replies are listed 'Best First'.
Re^2: running system commands, and getting return codes/status
by Anonymous Monk on Nov 27, 2021 at 17:46 UTC

    tybalt: This is REALLY Tk::IO, and not IPC::IO, or *::IO ? I have not heard of Tk::IO. It's not in 'Learning PERL/Tk'. I and doing this from Windoze I need to switch system to view manpage.

      You do not need to switch systems to view the man page. Just use a browser to search "man tk::io". You'll not only find the man page but you'll find other useful references as well.

      I found Tk::IO with my manpage viewer. It looks extremely simple...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-19 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found