Skip to content

Process start OSAL abstraction using posix_spawn for QNX - Part 2 - #1107

Merged
MaciejKaszynski merged 5 commits into
eclipse-score:mainfrom
etas-contrib:posix_spawn_part2
Nov 27, 2026
Merged

MaciejKaszynski merged 5 commits into
eclipse-score:mainfrom
etas-contrib:posix_spawn_part2

Conversation

@NicolasFussberger

@NicolasFussberger NicolasFussberger commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Moves existing fork()+execve() code to OSAL layer (linux specific implementation). QNX now uses posix_spawn.

Details

Previously, fork()+execve() was used to start processes both on Linux and QNX.

PR #1023 already introduced the OSAL function start_process with an implementation for starting a process using posix_spawn for QNX.

This PR adds the missing Linux implementation for start_process by moving the existing fork()+execve() code into the OSAL layer.
The actual code remains unchanged and is only moved.

The existing process_launcher now invokes the OSAL function, using fork()+execve() on Linux (same as bevor) and posix_spawn on QNX (new behavior).

@NicolasFussberger NicolasFussberger changed the title Move existing fork()+execve() code to OSAL and enable posix_spawn for QNX Process start OSAL abstraction using posix_spawn for QNX - Part 2 Nov 26, 2026
@NicolasFussberger
NicolasFussberger marked this pull request as ready for review November 26, 2026 13:34
@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-1107: https://eclipse-score.github.io/lifecycle/pr-1107/

@SimonKozik SimonKozik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potential improvements are in the test code and they are minor in nature.

@NicolasFussberger
NicolasFussberger deployed to workflow-approval November 27, 2026 14:58 — with GitHub Actions Active
@NicolasFussberger
NicolasFussberger deployed to workflow-approval November 27, 2026 14:58 — with GitHub Actions Active
@MaciejKaszynski
MaciejKaszynski added this pull request to the merge queue Nov 27, 2026
Merged via the queue into eclipse-score:main with commit 2dadedb Nov 27, 2026
27 checks passed
@MaciejKaszynski
MaciejKaszynski deleted the posix_spawn_part2 branch November 27, 2026 15:59
@github-project-automation github-project-automation Bot moved this from Backlog to Done in LCM - Lifecycle & Health FT Nov 27, 2026

This branch was successfully deployed

1 active deployment
workflow-approval — 9a6b40a9 Deployed Nov 27, 2026 by NicolasFussberger via Build and test x86_64-qnx / approval #2913
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants