Home GnuPG

spawn: Support the use case in libassuan where PGMNAME==NULL.

Description

spawn: Support the use case in libassuan where PGMNAME==NULL.

* src/spawn-posix.c (my_exec): When PGMNAME==NULL, just fork.
(_gpgrt_process_spawn): Support PGMNAME==NULL use case.
* src/spawn-w32.c (_gpgrt_process_spawn): Return GPG_ERR_INV_ARG,
when PGMNAME==NULL.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 7 2024, 6:35 AM
Parents
rEe64431138335: spawn: Expose gpgrt_spawn_actions functions.
Branches
Unknown
Tags
Unknown