Gio.SubprocessLauncher.prototype.set_flags

function set_flags(flags: Gio.SubprocessFlags): void {
    // Gjs wrapper for g_subprocess_launcher_set_flags()
}
  

Sets the flags on the launcher.

The default flags are Gio.SubprocessFlags.none.

You may not set flags that specify conflicting options for how to handle a particular stdio stream (eg: specifying both Gio.SubprocessFlags.stdin_pipe and Gio.SubprocessFlags.stdin_inherit).

You may also not set a flag that conflicts with a previous call to a function like Gio.SubprocessLauncher.prototype.set_stdin_file_path or Gio.SubprocessLauncher.prototype.take_stdout_fd.

Since 2.40