cd
cd(path)
Input: path · Output: no output
What it is
Changes the working directory to path (a Str) for the whole process, so every later relative path in the script resolves from there. Errors if path does not exist or is not a directory, rather than leaving you somewhere you did not expect. To run one command elsewhere without moving the script, use exec's cwd= instead.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
cd(path) | path Strnot documented yet | no output | To run one command elsewhere without moving the script, use exec's cwd= instead. |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.