RGtk2 (version 2.20.31)

gdkSpawnCommandLineOnScreen: gdkSpawnCommandLineOnScreen

Description

Like gSpawnCommandLineAsync(), except the child process is spawned in such an environment that on calling gdkDisplayOpen it would be returned a GdkDisplay with screen as the default screen.

Usage

gdkSpawnCommandLineOnScreen(screen, command.line, .errwarn = TRUE)

Arguments

screen
command.line
a command line
.errwarn
Whether to issue a warning on error or fail silently

Value

A list containing the following elements:
retval
[logical] TRUE on success, FALSE if error is set.
error
return location for errors

Details

This is useful for applications which wish to launch an application on a specific screen. Since 2.4