_repository_path + '\" init --bare"' try: retcode = subprocess.call [...] _path) project.git.init(local