------------------------------------------------------------
-- Windows part extracted from Pete Stoner's code
------------------------------------------------------------
-- Windows part extracted from Pete Stoner's code
Following global functions are defined:
returns a list of Process IDs (PID) which command line matches given name
Params:name of the process to check
sequence: list of pids of processname instances
s = get_process_id("/usr/bin/nmbd")
is_running()
Checks if a process of given name is running
Params:name of the process to check
integer: true if at least one instance of processname is running else false
if is_running("/usr/sbin/nmbd") then
-- do some processing
end if
get_process_id()