run_snapctl2_sync


Description:

[ Version ( since = "1.59" ) ]
public bool run_snapctl2_sync (string context_id, string[] args, out string stdout_output, out string stderr_output, out int exit_code, Cancellable? cancellable = null) throws Error

Run a snapctl command.

Parameters:

this

a Client.

context_id

context for this call.

args

the arguments to pass to snapctl.

stdout_output

the location to write the stdout from the command or null.

stderr_output

the location to write the stderr from the command or null.

exit_code

the location to write the exit code of the command or null.

cancellable

a Cancellable or null.

Returns:

true on success or false on error.