def process_running(pid):
	if os.name == 'nt':
                return process_running_nt(pid)   
	else:
		try:
			os.kill(int(pid), 0)
			return True
		except __HOLE__:
			return False

# loosely based on http://code.activestate.com/recipes/303339/
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/framework/pym/play/commands/daemon.py/process_running