-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Thu, 2019-01-03 at 20:21 +0100, Andreas Henriksson wrote: > In your case the RM_CMD define is passed to g_spawn_sync function. > That function takes a flags argument where you could add > G_SPAWN_SEARCH_PATH. The envp argument is already being passed NULL > which means that the environment is inherited from the parent process. > I assume that one has a sane PATH set, but with things like session > managers you might need to pay special attention to the environment it > runs in/from.
To be honest, I didn't actually investigated why the rm command was needed. Considering that, I'll upload with a patch just hardcoding RM_CMD to rm. Will that pose a problem wrt. reproducibility if I don't remove the autotools logic around? Regards, - -- Yves-Alexis -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAlwucyMACgkQ3rYcyPpX RFt17ggAk7qVYoK1ASoi4RdUiCvjuhMY8+6pBeMKL5NEOKrpV/PmIV1JXicehLvW lOy9ZwGYK6iWv1vR5x3cG3t8cfl82PProHYbv3LqSio92h+5Ts2z8XBNjtFWTSgw 0zg5zitSiZRaITFRvpKrMvlgJnS49bZevDmdNRlnSVRJobp93yuDAZ6FAKV4q3iA CPCZM+v0ZBryon6E1YUHKy+D6oHnvvYO9DtbymOsva8JRsfVrDCWrfOdcjJqW2FF 5gadN5bGYMS5reW4ccp+JTqCDW6UMdTngvyudo/r4hM/89KLZERKAy8WUz/Mvhek ClfXrUh7n0vA5BvydaGZBKhwMIpevw== =mruq -----END PGP SIGNATURE-----