It worked!!! Thanks for the quick reply, I have a Alpha-Cade cab with a x64 pc in my build, this will come in handy, because i don't want any accidental game closures from players pressing only one button to close the game. My script for one of my emu's looks like this..
; This section closes Sega Model 2 Emulator when pressing Escape
~p & o::
{
Process, Close, {{{StartupEXE}}}
}