Skip to content

execute: Improve handle handling#38

Merged
scheibelp merged 1 commit into
spack:mainfrom
johnwparent:executable-improve-handle-inheritance
May 20, 2026
Merged

execute: Improve handle handling#38
scheibelp merged 1 commit into
spack:mainfrom
johnwparent:executable-improve-handle-inheritance

Conversation

@johnwparent
Copy link
Copy Markdown
Collaborator

Go to greather lenghts to ensure handles are not inheritable by the child process, creating inheritable copies and then immediately closing on the parent side. Ensure parent side handles are uninheritable

Prevent small race condition by starting reader processes first

Ensure better stack saftey with dynamic arrays instead of c style

Go to greather lenghts to ensure handles are not inheritable by the child process, creating inheritable copies and then immediately closing on the parent side. Ensure parent side handles are uninheritable

Prevent small race condition by starting reader processes first

Ensure better stack saftey with dynamic arrays instead of c style

Signed-off-by: John Parent <john.parent@kitware.com>
@scheibelp scheibelp merged commit 704122f into spack:main May 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants