code: def run(command, cwd=None, shell=False, raiseOnError=False):
  		
  		returncode = subprocess.call(command, cwd=cwd, shell=shell)
  		if raiseOnError == True and returncode != 0:
  			raise Exception('child process ' + str(command) + ' failed with exit code ' + str(returncode))
  		return returncode
docs: Executes a child process and waits for it to complete