Ende.chdir

function ยท requires --allow-read

function Ende.chdir(directory: string | URL): void

Change the current working directory to the specified path.

Ende.chdir("/home/userA");
Ende.chdir("../userB");
Ende.chdir("C:\\Program Files (x86)\\Java");

Throws Ende.errors.NotFound if directory not found.

Throws Ende.errors.PermissionDenied if the user does not have operating system file access rights.

Requires allow-read permission.