crispPacketTriangle / minishell

1 stars 0 forks source link

Environment variables being passed to processes #21

Open crispPacketTriangle opened 1 month ago

crispPacketTriangle commented 1 month ago

Currently the char env variable, that is taken as an argument to main, is being passed to a process when execve is called. This will not reflect any changes to the environment variables. Solution is to parse and reincorporate environment variable map into a char, of strings, VARNAME=value, at start up (in case reading from .ubashrc) and each time new environment variable is created.