6896802d75
- Added native process tree killing and listing functions via new `ps` module in pi-natives crate with platform-specific implementations (Linux /proc, macOS libproc, Windows CreateToolhelp32Snapshot). - Refactored process termination logic to prioritize native process tree killing when available, improving reliability of process cleanup across platforms. - Removed detached process spawning across codebase (bash-executor, shell-session, kernel, lsp client, markitdown conversion) in favor of native process tree management. - Simplified ptree module by removing managed children tracking and postmortem cleanup hooks, delegating process lifecycle management to native implementations.
13 lines
436 B
TypeScript
13 lines
436 B
TypeScript
export * from "./abortable";
|
|
export * from "./color";
|
|
export * from "./fs-error";
|
|
export * from "./glob";
|
|
export * as logger from "./logger";
|
|
export * as postmortem from "./postmortem";
|
|
export * as procmgr from "./procmgr";
|
|
export { setNativeKillTree } from "./procmgr";
|
|
export * as ptree from "./ptree";
|
|
export { AbortError, ChildProcess, Exception, NonZeroExitError } from "./ptree";
|
|
export * from "./stream";
|
|
export * from "./temp";
|