Gio.SubprocessLauncher.prototype.set_stdin_file_path

function set_stdin_file_path(path: String): void {
    // Gjs wrapper for g_subprocess_launcher_set_stdin_file_path()
}
  

Sets the file path to use as the stdin for spawned processes.

If path is null then any previously given path is unset.

The file must exist or spawning the process will fail.

You may not set a stdin file path if a stdin fd is already set or if the launcher flags contain any flags directing stdin elsewhere.

This feature is only available on UNIX.

Since 2.40

path

a filename or null