Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Win32::Process vs Win32::Job vs ????

by GrandFather (Cardinal)
on Feb 27, 2011 at 05:52 UTC ( #890372=note: print w/ replies, xml ) Need Help??


in reply to Win32::Process vs Win32::Job vs ????

Under the hood Win32::Process calls CreateProcess in Kernel32.dll to get the job done. CreateProcess does allow initial Window state to be specified by setting various members in the STARTUPINFO structure passed to it. You can call CreateProcess using Win32::API, although there is a chunk of work involved in setting it all up.

True laziness is hard work


Comment on Re: Win32::Process vs Win32::Job vs ????
Re^2: Win32::Process vs Win32::Job vs ????
by cdarke (Prior) on Feb 27, 2011 at 06:00 UTC
    there is a chunk of work involved in setting it all up

    ...so much so that, personally, I find it easier to write it in XS. It is disappointing that Win32::Process is not a complete implementation of CreateProcess.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2014-12-19 22:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (93 votes), past polls