run_snapctl_sync


Description:

[ Version ( since = "1.8" ) ]
public bool run_snapctl_sync (string context_id, string[] args, out string[] stdout_output, out string[] stderr_output, 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.

cancellable

a Cancellable or null.

Returns:

true on success or false on error.