GenerateTemporaryPathname (open)

Generate a temporary filepath

Syntax

LOADLIB "wh::files.whlib";

STRING FUNCTION GenerateTemporaryPathname()

Return value

STRING

A temporary path in the harescript vm's temporary directory

Description

This function generates a temporary filepath. The returned name should be opened with a 'create, exclusive' flag to protect against race conditions