-
```
minishell: ./test_files/infile: No such file or directory
==56011== FILE DESCRIPTORS: 2 open at exit.
==56011== Open file descriptor 5:
==56011== at 0x49AC89B: dup (syscall-template.S:78)
…
-
Shell must implement the following builtins:
- [x] **echo** with option -n
- [x] **cd** with only a relative or absolute path (meaning the path must be specified, unlike the normal command where if n…
-
확실히 차이가 있네요
-
you should add dependencies from your *.h files to your Makefile. If I change something on this files Makefile do nothing and I need to use command "make re' again.
manage exit errors for example …
-
Para encerrar essa Issue tem que ter encerrado todas as outras
- [x] #16
- [x] #17
- [x] #18
- [x] #19
- [x] #20
- [x] #21
- [x] #22
-
When start minishell and press enter without command
==1105==
==1105== HEAP SUMMARY:
==1105== in use at exit: 1 bytes in 1 blocks
==1105== total heap usage: 36 all…
-
위에서 바라본 모습
-
the redirection with a "./" exit the minishell when executing the builtin in the main proccess
you have to remove the "./" before opening the file
the optimal solution is to skip all the "./" at the…
-
In exec.c, we are not having protection if fork() return -1. When I put child = -1 in exec_path function, minishell don't seg fault but returns a bunch of non-sense value and cannot exit.
We are not …
-
commands like "ls" or "cat file" use execve which takes over whole program and breaks out of loop.
i think builtins like echo is fine though.