15 lines
277 B
Plaintext
15 lines
277 B
Plaintext
:sig
|
|
void cwd_set(String path)
|
|
|
|
:params
|
|
path : the new working directory
|
|
|
|
:see
|
|
>sys
|
|
|
|
:content
|
|
Sets the host worker process current directory. In wasm this is a hostcall, so restore the previous directory when using it inside request code.
|
|
|
|
:example
|
|
print("cwd_set example\n");
|