# chdir

Change the current working directory.

```rhai
chdir(path: &str) -> String
```

## Examples

```rhai
chdir("/tmp/build")?;
run("make");
```

```rhai
let repo = git_clone("https://github.com/user/project.git");
chdir(repo.path())?;
run("./build.sh");
```
