Skip to main content

MaaControllerGetShellOutput

Function MaaControllerGetShellOutput 

Source
pub unsafe extern "C" fn MaaControllerGetShellOutput(
    ctrl: *const MaaController,
    buffer: *mut MaaStringBuffer,
) -> MaaBool
Expand description

@brief Get the cached shell command output.

@param ctrl The controller handle. @param buffer The output buffer to store the command result. @return true if the output is available, false otherwise.

@note This returns the output from the most recent shell command execution.