Pausing system processes

I was wondering, has anyone has been able to successfully pause a batch render in Maya? I want to add this feature to the GUI I’ve been working on. I found this code that says it works but I’m using python 3.1 and they suggest using the subprocess system. What then is the method using that? or can this code be used in conjunction with it? :?:

import os, signal
# Pause the process
os.kill(pid, signal.SIGSTOP)
# Continue the process
os.kill(pid, signal.SIGCONT)

# Pause a process and it's children
os.killpg(pid, signal.SIGSTOP)
# Continue a process and it's children
os.killpg(pid, signal.SIGCONT)

If you are open to using other people’s modules:

looks promising, i’ll give it a shot. Thanks!