This Win32::OLE hates Perl's threads too much... Then I'm afraid there's no other option but something like
use strict; use warnings; use threads; use feature 'say'; sub test { my $s = 'say $_-> { CommandLine } for Win32::Process::Info-> new-> + GetProcInfo'; say qx( $^X -MWin32::Process::Info -E "$s" ); } threads-> create( \&test )-> join;
In reply to Re^3: Win32::Process::Info and threads
by vr
in thread Win32::Process::Info and threads
by LineStown
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |