Page MenuHome GnuPG

Add new function to spawn API which has 'modifying' environment semantics
Closed, ResolvedPublic

Description

Current semantics with gpgrt_spawn_actions_set_environ is not useful, since an application needs to access environ to prepare environment for child.

Instead, having a function to modify environ is good.

Event Timeline

gniibe created this task.

Here is my attempt:

Replacing gpgrt_spawn_actions_set_environ by gpgrt_spawn_actions_set_envchange is not good, as it's exported and already used.

Instead, adding the function is better. Here is the change for POSIX.

With the change, T7169 is fixed (by side-effect).