Method Shell
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
Shell(string, long)
Appends a job for shell command action.
MaaJob Shell(string cmd, long timeout = 20000)Parameters
cmdstring-
The shell command to execute.
timeoutlong-
The timeout in milliseconds. Default is 20000 (20 seconds).
Returns
- MaaJob
-
A shell MaaFramework.Binding.MaaJob.
Remarks
This is only valid for ADB controllers. If the controller is not an ADB controller, the action will fail.
See also MaaFramework.Binding.IMaaController.GetShellOutput(System.String@).