Gio.SubprocessLauncher.prototype.set_cwd

function set_cwd(cwd: String): void {
    // Gjs wrapper for g_subprocess_launcher_set_cwd()
}
  

Sets the current working directory that processes will be launched with.

By default processes are launched with the current working directory of the launching process at the time of launch.

Since 2.40

cwd

the cwd for launched processes