Closed gysiang closed 4 months ago
Okay can do.
To test, remove the path and run a command like ls, cat, grep.
@gysiang try to replace getenv to get_env_value.
That will make it use our custom
That time we had a lot of memory errors, so I used the allowed function getenv to substitute it.
@gysiang Resolved. Pushing after clean up
To test:
@axellee1994 This part has issue, getenv gets from bash and not our minishell. replace it with the custom that gets from the env manager.
char get_path(char cmd, t_shell minishell) { int i; char exec; char *path_part; char all_path; char s_cmd;
}