Replaces pg_ctl execution using os.system() with subprocess.call()