Commit graph

10 commits

Author SHA1 Message Date
mcolonna
3a85b1a195 [FIX] wait all programs to end before prompting 2024-04-26 14:23:37 +02:00
mcolonna
149bafef88 check TODO 2024-04-26 12:33:38 +02:00
mcolonna
d90fc62be5 change execute_call() and fork_exec() prototypes 2024-04-26 12:28:23 +02:00
mcolonna
7df3184578 fix errors. Remaining errors:
- segfault when empty command
- doesn't wait for the end of the command before prompting
2024-04-25 18:15:37 +02:00
mcolonna
6066d0529b Merge exec_command() and parse_command() branchs 2024-04-25 17:47:21 +02:00
mcolonna
e3c98f2d22 [FIX] several things*
fix:
- free_tab(): useless line
- fork_exec(): comp error
change:
- search_path() works differently (doesn't modify path)
- execute_command() is changed accordingly
- get_path() now returns a non-const
2024-04-25 17:34:14 +02:00
mcolonna
af6488534b [ADD] parse_command() 2024-04-25 16:59:09 +02:00
mcolonna
24d8b38510 Merge branch 'mylan2' into mylan 2024-04-24 13:29:49 +02:00
mcolonna
2da8cbabdd add ask_command() and minishell_error() 2024-04-23 16:02:01 +02:00
mcolonna
a0ad80a375 basic functions to make 2024-04-23 14:55:47 +02:00