http://www.perlmonks.org?node_id=890372


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 ????

Replies are listed 'Best First'.
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.