Qu

pwd

Builtin index · File I/O

result = cur_dir() / pwd()

Input: no input · Output: result

What it is

Takes no arguments. cur_dir says what it gives back and pwd is what anyone who has used a shell types first, so both spellings exist rather than one being renamed out from under existing scripts.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
result = cur_dir() / pwd()no input
result Str
Returns a Str: the process's current working directory, using the platform's own separator.

Examples

No documentation example calls this form yet. The File I/O chapter is where one belongs.

See also

cur_dir — documented in the same entry.