mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 00:02:31 +00:00
preserve fresh OMP launch status
This commit is contained in:
@@ -252,7 +252,7 @@ export function buildAgentDraftLaunchPlan(args: {
|
||||
const clearVar = clearEnvCommand(config.draftPromptEnvVar, shell)
|
||||
plan = {
|
||||
agent,
|
||||
launchCommand: `${launchCommand}${commandSeparator(shell)}${clearVar}`,
|
||||
launchCommand: agent === 'omp' && shell !== 'powershell' && shell !== 'cmd' ? `( ${launchCommand}; __orca_launch_status=$?; ${clearVar}; exit $__orca_launch_status )` : `${launchCommand}${commandSeparator(shell)}${clearVar}`,
|
||||
expectedProcess: config.expectedProcess,
|
||||
launchConfig,
|
||||
...appliedSessionOptionProps(baseCommand.appliedSessionOptions),
|
||||
|
||||
Reference in New Issue
Block a user