[ Version ( since = "1.59" ) ]
public async bool run_snapctl2_async (string context_id, string[] args, Cancellable? cancellable, out string stdout_output, out string stderr_output, out int exit_code) throws Error
Asynchronously run a snapctl command.
See run_snapctl_sync for more information.
| this |
a Client. |
| context_id |
context for this call. |
| args |
the arguments to pass to snapctl. |
| cancellable |
a Cancellable or null. |
| callback |
a TaskReadyCallback to call when the request is satisfied. |
| user_data |
the data to pass to callback function. |