mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 23:30:15 +00:00
0677c01c6b
Description: fix delegator api level Sig: SIG_ApplicationFramework Feature or Bugfix: Feature Binary Source: No Signed-off-by: guyuanzhang <zhangguyuan@huawei.com> Change-Id: I6b0b6390f05b19b0b07a2908711a3bd77f083c02
42 lines
1.2 KiB
TypeScript
42 lines
1.2 KiB
TypeScript
/*
|
|
* Copyright (c) 2021 Huawei Device Co., Ltd.
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
/**
|
|
* A object that records the result of shell command executes.
|
|
*
|
|
* @since 8
|
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
|
* @import import ShellCmdResult from 'application/shellCmdResult.d'
|
|
* @permission N/A
|
|
*/
|
|
export interface ShellCmdResult {
|
|
/**
|
|
* the cmd standard result.
|
|
*
|
|
* @since 8
|
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
|
*/
|
|
stdResult: String;
|
|
|
|
/**
|
|
* shell cmd exec result.
|
|
*
|
|
* @since 8
|
|
* @syscap SystemCapability.Ability.AbilityRuntime.Core
|
|
*/
|
|
exitCode: number;
|
|
}
|
|
|
|
export default ShellCmdResult; |