Like g_subprocess_communicate(), but validates the output of the process as UTF-8, and returns it as a regular NUL terminated string.
data to send to the stdin of the subprocess, or %NULL
a #GCancellable
data read from the subprocess stdout
data read from the subprocess stderr
GException on failure.
See Implementation
Like g_subprocess_communicate(), but validates the output of the process as UTF-8, and returns it as a regular NUL terminated string.