ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as cp from 'child_process';
import { CancellationToken } from '../../../util/vs/base/common/cancellation';
export interface ICommandExecutor {
executeWithTimeout(
command: string,
args: string[],
cwd: string,
timeoutMs?: number,
expectZeroExitCode?: boolean,
cancellationToken?: CancellationToken): Promise<{ stdout: string; stderr: exitCode
command
args
cwd
timeoutMs
expectZeroExitCode
cancellationToken CancellationToken
stdout stderr exitCode
command
args
cwd
timeoutMs
expectZeroExitCode
cancellationToken
command
args
cwd
timeoutMs
expectZeroExitCode
cancellationToken CancellationToken
resolve reject
stdout
stderr
settled
child cpChildProcessWithoutNullStreams cpcommand args
stdio
env processenv
cwd cwd
childstdout
childstderr
childstdout data stdoutdata
childstderr data stderrdata
timeoutHandler
settled
settled
child
childkilled
child
timeoutMs
cancellationHandler cancellationToken
settled
settled
timeoutHandler
child
childkilled
child
child error
settled
settled
timeoutHandler
cancellationHandler
error
child code
settled
settled
timeoutHandler
cancellationHandler
expectZeroExitCode code
stdout stdout
stderr stderr
exitCode code