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 { getDriveLetter } from '../../../../base/common/extpath.js';
import * as platform from '../../../../base/common/platform.js';
function spawnAsPromised(command: string, args: string[]): Promise<string> {
return new Promise((resolve, reject) => {
let stdout = '';
child cpcommand args
childpid
childstdout data Buffer
stdout data
child err
err
child code
stdout
processId
processId
platformisWindows
windowsProcessTree
resolve
windowsProcessTreeprocessId processTree
processTree processTreechildrenlength
processIdstdout
r stdout
rlength r
error
ShellType cmd powershell bash
shell args argsCanBeInterpretedByShell cwd env key
shell shell
shellType
shell shell
shellType ShellTypepowershell
shell
shellType ShellTypecmd
shell
shellType ShellTypebash
platformisWindows
shellType ShellTypecmd
shellType ShellTypebash
s
command
shellType
ShellTypepowershell
s
s s
slength sslength
cwd
driveLetter cwd
driveLetter
command
command
env
key env
value envkey
value
command
command
argslength
arg args
cmd argsCanBeInterpretedByShell arg arg
command cmd
a args
command a a argsCanBeInterpretedByShell a a
command
ShellTypecmd
s
s s
s s
char schar slength s
cwd
driveLetter cwd
driveLetter
command
command
env
command
key env
value envkey
value
command
value value s
command
a args
command a a argsCanBeInterpretedByShell a a
command
env
command
ShellTypebash
s
s s
slength s
s
s s
cwd
command
env
command
key env
value envkey
value
command
command
command
a args
command a a argsCanBeInterpretedByShell a a
command
command