ShellCmdResult
NOTE
The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
Modules to Import
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
ShellCmdResult
Describes the shell command execution result.
Name | Type | Readable | Writable | Description |
---|---|---|---|---|
stdResult | string | Yes | Yes | Standard output content. System capability: SystemCapability.Ability.AbilityRuntime.Core |
exitCode | number | Yes | Yes | Result code. System capability: SystemCapability.Ability.AbilityRuntime.Core |