Screen.gdkSpawnOnScreenWithPipes

Warning gdk_spawn_on_screen_with_pipes has been deprecated since version 2.24 and should not be used in newly-written code. This function is being removed in 3.0. Use either g_spawn_async_with_pipes() or GdkAppLaunchContext instead. Like g_spawn_async_with_pipes(), except the child process is spawned in such an environment that on calling gdk_display_open() it would be returned a GdkDisplay with screen as the default screen. This is useful for applications which wish to launch an application on a specific screen. Since 2.4

class Screen
int
gdkSpawnOnScreenWithPipes

Parameters

workingDirectory string

child's current working directory, or NULL to inherit parent's

argv string[]

child's argument vector

envp string[]

child's environment, or NULL to inherit parent's

flags GSpawnFlags

flags from GSpawnFlags

childSetup GSpawnChildSetupFunc

function to run in the child just before exec()

userData void*

user data for child_setup

childPid int

return location for child process ID, or NULL

standardInput int

return location for file descriptor to write to child's stdin, or NULL

standardOutput int

return location for file descriptor to read child's stdout, or NULL

standardError int

return location for file descriptor to read child's stderr, or NULL

Return Value

Type: int

TRUE on success, FALSE if an error was set

Meta