Class

AstalIOProcess

Description

class AstalIO.Process : GObject.Object
{
  /* No available fields */
}

Process provides shortcuts for GSubprocess with sane defaults.

Ancestors

Constructors

astal_io_process_new_subprocessv

Start a new subprocess with the given command. The first element of the vector is executed with the remaining elements as the argument list.

astal_io_process_new
No description available.

Functions

astal_io_process_subprocess

Start a new subprocess with the given command which is parsed using g_shell_parse_argv().

astal_io_process_execv

Execute a command synchronously. The first element of the vector is executed with the remaining elements as the argument list.

astal_io_process_exec

Execute a command synchronously. The command is parsed using g_shell_parse_argv().

astal_io_process_exec_asyncv

Execute a command asynchronously. The first element of the vector is executed with the remaining elements as the argument list.

astal_io_process_exec_asyncv_finish
No description available.

astal_io_process_exec_async

Execute a command asynchronously. The command is parsed using g_shell_parse_argv().

astal_io_process_exec_finish
No description available.

Instance methods

astal_io_process_kill

Force quit the subprocess.

astal_io_process_signal

Send a signal to the subprocess.

astal_io_process_write

Write a line to the subprocess’ stdin synchronously.

astal_io_process_write_async

Write a line to the subprocess’ stdin asynchronously.

astal_io_process_write_finish
No description available.

astal_io_process_get_argv
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AstalIO.Process:argv
No description available.

Signals

AstalIO.Process::stdout

When the underlying subprocess writes to its stdout this signal is emitted with that line.

AstalIO.Process::stderr

When the underlying subprocess writes to its stderr this signal is emitted with that line.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AstalIOProcessClass {
  /* no available fields */
}

No description available.