chdir(directory) Change the working directory @status current Introduced in 2.3.0 Parameters directory (string) New working directory Return value none