PrinceSalatyell / minishell

A simple shell
2 stars 0 forks source link

pass env list to execve #28

Closed PrinceSalatyell closed 1 year ago

PrinceSalatyell commented 1 year ago

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.

PrinceSalatyell commented 1 year ago

Link to PR:

PrinceSalatyell commented 1 year ago

This has been merged