Method Shell
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
Shell(string, long)
Appends a job for shell command action.
public MaaJob Shell(string cmd, long millisecondsTimeout = 20000)Parameters
cmdstring-
The shell command to execute.
millisecondsTimeoutlong-
The timeout in milliseconds. Default is 20000 (20 seconds).
Returns
- MaaJob
-
A shell MaaFramework.Binding.MaaJob.
Remarks
Supported by ADB controllers and custom controllers that implement the shell callback.
See also MaaFramework.Binding.IMaaController.GetShellOutput(System.String@).