Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: ActivePerl Gtk2::Helper Hangs

by syphilis (Archbishop)
on Nov 27, 2013 at 12:31 UTC ( [id://1064601]=note: print w/replies, xml ) Need Help??


in reply to ActivePerl Gtk2::Helper Hangs

I think the problem is in the Gtk2::Helper->add_watch

For me (on Windows), when I run your script, there's no problem until the Gtk2->main(); is executed (at the last line of your script).

I don't know if that rules out the possibility that the problem is where you said it is ...

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: ActivePerl Gtk2::Helper Hangs
by syphilis (Archbishop) on Nov 27, 2013 at 12:51 UTC
    I don't know if that rules out the possibility that the problem is where you said it is ...

    Aaaah ... hang on ... in the Glib-1.301/t/9.t test script we find:
    } elsif ($^O eq "MSWin32") { print "ok 12 # skip add_watch on win32\n"; print "ok 13 # skip add_watch on win32\n"; print "ok 14 # skip add_watch on win32\n"; }
    This would suggest that add_watch() doesn't work on Windows, and you need to replace it with other code.
    The Gtk2 developers probably have a good idea of what's needed, if no-one here comes forward with a solution.

    Cheers,
    Rob
      Hi Syphilis,

      Can you recommend an alternative code? Other way of reading the output of the cmd.exe

      Thanks in Advance! :)
      Mabuhay Civil Engineers! :D

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-24 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found