Gdk.Spawn.OnScreen Method

Spawns a process on a screen using argument and environment lists.

Syntax

public static bool OnScreen (Screen screen, string working_directory, string[] argv, string[] envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc child_setup, out int child_pid)

Parameters

screen
A screen to spawn on.
working_directory
The process working directory.
argv
Argument list, with program at index 0.
envp
List of environment variables.
flags
Spawning flags.
child_setup
Child setup callback.
child_pid
Returns the child process id.

Returns

If true, the process was spawned successfully.

Remarks

Requirements

Namespace: Gdk
Assembly: gdk-sharp (in gdk-sharp.dll)
Since: Gtk# 2.12