When we have to export the environment more than once in a run, this can lead to duplicate exports or clashes.
There is not currently, to the best of my research, a portable spawn with this feature in either GNAT.OS_Lib, GNATCOLL, or GNAT.Expect.
A wrapper over Boost.Process could do the trick.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too