in reply to Re^2: Win32::Process::Info and threads
in thread Win32::Process::Info and threads
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Win32::Process::Info and threads
by LineStown (Initiate) on Jan 19, 2017 at 10:39 UTC |