Summary

Win32 processes can be quite simple to create, as with the Win32::Spawn() function, or as complex as Win32::AdminMisc::CreateProcessAsUser(). As these functions become more complex, so do their features and capabilities. It is important to note that, although each of the process-creating functions do practically the same thing, they provide radically different features.

The Win32::Spawn() function enables you to create a new process quickly and without much fuss. After the process is created, however, you cannot do much with it.

The Win32::Process::Create() function enables you to create a new process, but it takes a bit more understanding of how Win32 operates. The benefit, however, is that you can control the new process by using the ...

Get Win32 Perl Programming: The Standard Extensions, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.