Skip to content

Conversation

@rgoldberg
Copy link
Member

@rgoldberg rgoldberg commented Sep 21, 2025

Refactor Reset to terminate processes using C APIs, instead of running the killall shell command via a Swift Process.

Terminate processes by full executable path instead of by executable name.

Terminate com.apple.dock & com.apple.storeuid as applications instead of as processes.

No longer terminate ContextStoreAgent.

Resolve #667

…ing the `killall` shell command via a Swift `Process`.

Terminate processes by full executable path instead of by executable name.

Terminate `com.apple.dock` & `com.apple.storeuid` as applications instead of as processes.

No longer terminate `ContextStoreAgent`.

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
@rgoldberg rgoldberg added this to the 3.0.0 milestone Sep 21, 2025
@rgoldberg rgoldberg self-assigned this Sep 21, 2025
@rgoldberg rgoldberg added the 🧹 cleanup Optimization of (not bug fix for) an existing feature label Sep 21, 2025
@rgoldberg rgoldberg changed the title Refactor reset Refactor Reset Sep 21, 2025
@sonarqubecloud
Copy link

@rgoldberg rgoldberg merged commit 2c865a8 into mas-cli:main Sep 21, 2025
7 checks passed
@rgoldberg rgoldberg deleted the 667-reset-without-external-processes branch September 21, 2025 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧹 cleanup Optimization of (not bug fix for) an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace external processes in Swift with native Swift code

1 participant