diff --git a/zh-cn/application-dev/reference/apis/js-apis-inner-application-abilityDelegator.md b/zh-cn/application-dev/reference/apis/js-apis-inner-application-abilityDelegator.md index cf17f6037940b493642c8c64883acc1dd03a89a1..4a21821c1786aca8939f5344d77f80fe0eccea9a 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-inner-application-abilityDelegator.md +++ b/zh-cn/application-dev/reference/apis/js-apis-inner-application-abilityDelegator.md @@ -838,6 +838,8 @@ executeShellCommand(cmd: string, callback: AsyncCallback\): void 执行指定的shell命令(callback形式) +仅支持如下shell命令:aa, bm, cp, mkdir, rm, uinput, hilog, ppwd, echo, uitest, acm, hidumper, wukong, pkill, ps, pidof + **系统能力:** SystemCapability.Ability.AbilityRuntime.Core **参数:** @@ -865,6 +867,8 @@ executeShellCommand(cmd: string, timeoutSecs: number, callback: AsyncCallback\ 指定超时时间,并执行指定的shell命令(promise形式) +仅支持如下shell命令:aa, bm, cp, mkdir, rm, uinput, hilog, ppwd, echo, uitest, acm, hidumper, wukong, pkill, ps, pidof + **系统能力:** SystemCapability.Ability.AbilityRuntime.Core **参数:**