NAME

XAS::Lib::Mixins::Process::Win32 - A mixin for the XAS environment

SYNOPSIS

use XAS::Class
  debug   => 0,
  version => '0.01',
  base    => 'XAS::Base',
  mixin   => 'XAS::Lib::Mixins::Process'
;

DESCRIPTION

This mixin provides a method to check for running processes on Win32.

METHODS

proc_status($pid)

Check for the running process. It can return one of the following status codes.

6 - Suspended ready
5 - Suspended blocked
4 - Blocked
3 - Running
2 - Ready
1 - Other
0 - Unknown
$pid

The process id to check for.

SEE ALSO

XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (c) 2012-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.