Method

AstalRiverRiverrun_command

Declaration

gboolean
astal_river_river_run_command (
  AstalRiverRiver* self,
  gchar** cmd,
  gint cmd_length1,
  gchar** output
)

Description

Executes a given command, similar to riverctl.

Parameters

cmd

Type: An array of gchar*

No description available.

The length of the array is specified in the cmd_length1 argument.
The data is owned by the caller of the method.
Each element is a NUL terminated UTF-8 string.
cmd_length1

Type: gint

No description available.

output

Type: gchar**

No description available.

The argument will be set by the function.
The argument can be NULL.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

No description available.