PREV INDEX NEXT

Author: Unknown
Subject: Creating the env for the child process
Date: Tuesday, 24 Nov 2020, 17:52:28

Hi, 

What is a good way to handle adding new env variables when executing a child process? Since the array passed into the exec functions must be static, reallocing envp[] doesn't seem like an option.

is the only way to make a new static array each time and copy stuff around?
PREV INDEX NEXT