FileUtils.chdir

A wrapper for the POSIX chdir() function. The function changes the current directory of the process to @path.

See your C library manual for more details about chdir().

struct FileUtils
static
int
chdir
(
string path
)

Parameters

path string

a pathname in the GLib file name encoding (UTF-8 on Windows)

Return: 0 on success, -1 if an error occurred.

Meta