Link to home
Start Free TrialLog in
Avatar of klestes
klestes

asked on

Win32::Process, GetProcessId() not being acknowleged...

Hey !   Has anyone had any problems using Win32::process ?
Specifically, when I try something like

     Win32::Process::Create
                               ($ProcessObj,
                                "c:\\windows\\command\\start.exe",
                                "start /m perl " . $command,
                                0,
                                NORMAL_PRIORITY_CLASS,
                                ".")|| die ErrorReport();
         
         $pid = $ProcessObj->GetProcessId() ;

It complains :

Your vendor  has not defined Win32::process macro GetProcessId, used at inv.pl blah blah blah.

To which I can only observe :

Wasssssssssssssssssup ????
ASKER CERTIFIED SOLUTION
Avatar of clockwatcher
clockwatcher

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of klestes
klestes

ASKER

Thanks clockwatcher !

Now if only those damn voices would stop saying "you did use the -w flag, didn't you ?"