spawn_command_line


Description:


[ Version ( since = "4.16" ) ]
public bool spawn_command_line (Screen? screen, string command_line, bool in_terminal, bool startup_notify, bool child_process) throws Error

Executes the given command_line and returns true if the command terminated successfully.

Else, the throws is set to the standard error output.

Parameters:

screen

a Screen or null to use the active screen, see gdk_screen_get_active.

command_line

command line to run.

in_terminal

whether to run command_line in a terminal.

startup_notify

whether to use startup notification.

child_process

true if the process should be a child process, false if it should be reparented to init.

Returns:

true if the command_line was executed successfully, false if throws is set.


Namespace: Xfce
Package: libxfce4ui-2