:sig
function cwd_set(path : string)

:params
path : the new working directory path

:content
`cwd_set()` changes the worker process working directory.

Save the current directory with `cwd_get()`. Restore it after temporary use.

:example capy render
var old_path := cwd_get()
cwd_set("/tmp")
print(cwd_get(), "\n")
cwd_set(old_path)

:see-group
paths
