Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2000-03-30
2
Medium Priority
?
453 Views
Last Modified: 2008-02-20
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 ????
0
Comment
Question by:klestes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 25

Accepted Solution

by:
clockwatcher earned 120 total points
ID: 2676627
Try this:

$pid = $ProcessObj->GetProcessID();

Instead of this:

$pid = $ProcessObj->GetProcessId();

-- Case-sensitivity.  Got to love it. ;-)
0
 

Author Comment

by:klestes
ID: 2680639
Thanks clockwatcher !

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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question