def chdir(path, is_client_path=False):

    os.chdir(path)
    if not is_client_path:
        path = os.getcwd()
    os.environ['PWD'] = path
Do chdir to the given path, and set the PWD environment
dataset/ETHPy150Open zulip/zulip/api/integrations/perforce/git_p4.py/chdir