Execve receives, as a third argument, the env in the form of an array of strings. Currently we are passing NULL as the third argument. We need to create a function that, when it comes time to use execve, we convert the env dictionary to an array of strings to pass to execve and then, after it's usage, free it.
Execve receives, as a third argument, the env in the form of an array of strings. Currently we are passing
NULL
as the third argument. We need to create a function that, when it comes time to use execve, we convert the env dictionary to an array of strings to pass to execve and then, after it's usage, free it.