Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.10.6] - Unreleased

### Fixed
- #996: Ensure COS commands execute in exec under a dedicated, isolated context

## [0.10.5] - 2026-01-15

### Added
Expand Down
10 changes: 8 additions & 2 deletions src/cls/IPM/Main.cls
Original file line number Diff line number Diff line change
Expand Up @@ -983,8 +983,7 @@ ClassMethod ShellInternal(
} elseif (tCommandInfo = "load") {
do ..Load(.tCommandInfo)
} elseif (tCommandInfo = "exec") {
write !
xecute tCommandInfo("parameters","expression")
do ..ExecuteCOS(.tCommandInfo)
} elseif (tCommandInfo = "install") {
do ..Install(.tCommandInfo)
} elseif (tCommandInfo = "reinstall") {
Expand Down Expand Up @@ -2218,6 +2217,13 @@ ClassMethod Load(
$$$ThrowOnError(log.Finalize($$$OK, devMode))
}

ClassMethod ExecuteCOS(ByRef commandInfo)
{
new $namespace
write !
xecute commandInfo("parameters","expression")
}

ClassMethod LoadInternal(
ByRef pCommandInfo,
pLog As %IPM.General.AbstractHistory) [ Internal ]
Expand Down
Loading