mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-06 04:42:24 +00:00
TASK-pilot-executor-outcomes qualify isolated CLI outcomes
This commit is contained in:
1 parent
f4594e9a37
commit
e26a0fb506
3 files changed
+215
-9
No files matched your search
+3
-3
@@ -1122,7 +1122,7 @@ export async function runCli(argv = process.argv.slice(2), {
|
||||
print(startFleet({
|
||||
plan, controlPlane: control, adapters,
|
||||
executor: (launch) => executeRuntimeLaunch(spawn, launch, {
|
||||
cwd: launch.cwd, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'],
|
||||
cwd: launch.cwd, env, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'],
|
||||
maxBuffer: MAX_RUNTIME_EXECUTOR_OUTPUT_BYTES,
|
||||
}),
|
||||
}), { json });
|
||||
@@ -1456,7 +1456,7 @@ export async function runCli(argv = process.argv.slice(2), {
|
||||
print(startFleet({
|
||||
plan, controlPlane: control, adapters,
|
||||
executor: (launch) => executeRuntimeLaunch(spawn, launch, {
|
||||
cwd: launch.cwd, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'],
|
||||
cwd: launch.cwd, env, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'],
|
||||
maxBuffer: MAX_RUNTIME_EXECUTOR_OUTPUT_BYTES,
|
||||
}),
|
||||
}), { json });
|
||||
@@ -1631,7 +1631,7 @@ export async function runCli(argv = process.argv.slice(2), {
|
||||
return startFleet({
|
||||
plan, controlPlane: control, adapters,
|
||||
executor: (launch) => executeRuntimeLaunch(spawn, launch, {
|
||||
cwd: launch.cwd, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'],
|
||||
cwd: launch.cwd, env, encoding: 'utf8', stdio: ['ignore', 'pipe', 'pipe'],
|
||||
timeout: 300_000, maxBuffer: MAX_RUNTIME_EXECUTOR_OUTPUT_BYTES, killSignal: 'SIGTERM',
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user