Table of Contents

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

cmd string

The shell command to execute.

millisecondsTimeout long

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@).