Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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

by tybalt89 (Prior)
on Nov 27, 2021 at 01:49 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2022-05-25 00:21 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (84 votes). Check out past polls.