SubprocessLauncher.setFlags

Sets the flags on the launcher.

The default flags are G_SUBPROCESS_FLAGS_NONE.

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

You may also not set a flag that conflicts with a previous call to a function like Subprocess.launcherSetStdinFilePath or Subprocess.launcherTakeStdoutFd.

class SubprocessLauncher
void
setFlags

Parameters

flags GSubprocessFlags

Meta

Since

2.40