impure functioncd
Changes the working directory.
Information
Changes the working directory to the given filesystem path (which may be either relative or absolute). Returns the new working directory on success or a message on failure.
If the given path is the empty string, the function simply returns the current working directory.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | newWorkingDirectory | "" |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | workingDirectory |