communicate_utf8


Description:

public bool communicate_utf8 (string? stdin_buf, Cancellable? cancellable, out string? stdout_buf, out string? stderr_buf) throws Error

Like communicate, but validates the output of the process as UTF-8, and returns it as a regular NUL terminated string.

On error, stdout_buf and stderr_buf will be set to undefined values and should not be used.

Parameters:

this

a Subprocess

stdin_buf

data to send to the stdin of the subprocess, or null

cancellable

a Cancellable

stdout_buf

data read from the subprocess stdout

stderr_buf

data read from the subprocess stderr