Commit graph

21 commits

Author SHA1 Message Date
mcolonna
117631d50e manage errors 2024-04-29 15:49:12 +02:00
mcolonna
78f6fcc82f [FIX] error in libtf 2024-04-29 14:01:57 +02:00
mcolonna
3a85b1a195 [FIX] wait all programs to end before prompting 2024-04-26 14:23:37 +02:00
mcolonna
581dad0146 [ADD] clear screen at start of minishell 2024-04-26 14:19:31 +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
joris schaft
7654aeb2d8 [ADD] added fonction to execute command 2024-04-24 14:24:09 +02:00
mcolonna
24d8b38510 Merge branch 'mylan2' into mylan 2024-04-24 13:29:49 +02:00
mcolonna
d26cd021f2 save 2024-04-23 16:46:55 +02:00
joris schaft
17770aa6ae a 2024-04-23 16:04:24 +02:00
mcolonna
2da8cbabdd add ask_command() and minishell_error() 2024-04-23 16:02:01 +02:00
mcolonna
fa1301d41f fix Makefile 2024-04-23 15:29:26 +02:00
mcolonna
c2c1add4a7 clean libtf 2024-04-23 15:13:51 +02:00
mcolonna
a0ad80a375 basic functions to make 2024-04-23 14:55:47 +02:00
mcolonna
1a34e2f64b dev: add Makefile 2024-04-23 13:46:44 +02:00
mcolonna
23d28a9d93 dev: add ./minishell to .gitignore 2024-04-23 13:27:37 +02:00
Zy
62b6958022
Initial commit 2024-04-23 13:25:19 +02:00