NAME
XAS::Lib::Process::Win32 - A mixin class for process management within the XAS environment
DESCRIPTION
This module is a mixin class to handle the needs for process management under a Windows system.
METHODS
init_process
This method initializes the module so that it can function properly.
start_process
This method does the necessary things to spawn a new process.
stat_process
This method returns the status of the process. These are the possible values.
- 6
-
This status indicates that the process is in a "suspended ready" state.
- 5
-
This status indicates that the process is in a "suspended blocked" state.
- 4
-
This status indicates that the process is in a "blocked" state.
- 3
-
This status indicates that the process is in a "running" state.
- 2
-
This indicates that the process is in a "ready" state.
- 1
-
This indicates that the process is in a "other" state.
- 0
-
This indicates that the process is in an unknown state.
stop_process
This method will use Win32::Process:KillProcess to stop the process.
pause_process
This method will use the Pause() method to pause the process.
resume_process
This method will Resume() method to resume the process.
kill_process
This method calls stop_process().
SEE ALSO
AUTHOR
Kevin L. Esteb, <kevin@kesteb.us>
COPYRIGHT AND LICENSE
Copyright (C) 2015 Kevin L. Esteb
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.