pub unsafe extern "C" fn MaaControllerPostShell(
ctrl: *mut MaaController,
cmd: *const c_char,
timeout: i64,
) -> MaaCtrlIdExpand description
@brief Post a shell command to the controller.
@param ctrl The controller handle. @param cmd The shell command to execute. @param timeout Timeout in milliseconds. Default is 20000 (20 seconds). @return The control id of the shell action.
@note Supported by ADB controllers and custom controllers that implement the shell callback. @see MaaControllerGetShellOutput