Class
AstalIOProcess
Description
class AstalIO.Process : GObject.Object
{
/* No available fields */
}
Process
provides shortcuts for GSubprocess
with sane defaults.
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.
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_async
Execute a command asynchronously. The command is parsed using g_shell_parse_argv()
.
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.