Does anyone happen to know how I can find and kill a process in Girder 6?

In Girder 5, I wrote a lua script as follows...

Code:
-- get the process if it exists
procId = win.FindProcess("spotify.exe")

-- if the process exists, terminate it
if procId ~= nil then
	res = win.TerminateProcess(procId)
	print("The spotify process was terminated.")
else
	print("The spotify process wasn't found.")
end
I searched through the manual and on the forums and didn't find anything pertaining to Girder 6.

Thanks,
Casey