Commit Graph

20 Commits

Author SHA1 Message Date
Hugo LAMY
0a64977cdc merging conflicts 2021-12-20 15:07:58 +01:00
LuckyLaszlo
36de7bf150 added valid_command() rule (only "cmd_prefix")
+ skip exec if no cmd_name in a command
2021-12-17 03:17:58 +01:00
LuckyLaszlo
81cc6fbff6 handle_access_error() exit status 2021-12-16 06:04:03 +01:00
LuckyLaszlo
5c1d8f527c bugfix, pipeline must continue if expand_redirection() fail
+ ft_perror_io() delete
2021-12-11 21:22:43 +01:00
LuckyLaszlo
a7de843dc1 check of cmd->error :
- before calling cmd_find_access()
- before calling simple_command_builtin()
2021-12-11 05:53:55 +01:00
LuckyLaszlo
bcc82aabaf signals adjustements 2021-12-08 04:45:12 +01:00
LuckyLaszlo
caa733e14a open_pipes() bugfix
+ write "exit" to STDERR (like bash)
+ set_last_exit_status() on CTRL-C
2021-12-08 00:22:06 +01:00
LuckyLaszlo
66183ab441 cd refactoring, error_wrappers 2021-12-05 16:28:41 +01:00
LuckyLaszlo
b3f74c4179 refactoring exec 2021-12-01 17:24:32 +01:00
LuckyLaszlo
ffd06c4b95 ft_free_null()
+ refactoring shell_loop()
2021-11-30 14:12:05 +01:00
LuckyLaszlo
b265e8475a free_exit() renamed exit_free() 2021-11-29 12:44:46 +01:00
LuckyLaszlo
33f4878f36 exit status Macro 2021-11-29 12:42:52 +01:00
LuckyLaszlo
cb5c2dcb30 "cmd_arr/cmd_array" renamed to "pipeline" 2021-11-29 12:32:03 +01:00
LuckyLaszlo
3baf91afb3 replaced occurrences of last exit_status
+ deleted envp comments
+ WIP Macro exit status
+ TODO : Invalid free of environ in readline
2021-11-27 12:59:16 +01:00
LuckyLaszlo
843b6d84c5 "extern char **environ" in header file
+ global var g_all deleted, renamed switch_heredoc_sigint
2021-11-26 21:58:52 +01:00
hugogogo
ef3e91be13 variable extern environ fonction avec getenv et export ok 2021-11-25 19:45:41 +01:00
hugogogo
80410e6d81 gestion sigint dans heredoc fonctionne basiquement 2021-11-25 10:06:48 +01:00
LuckyLaszlo
7c65dcd897 fixed signal exit status only for last command 2021-11-18 14:38:23 +01:00
LuckyLaszlo
0bd9dcb3bb simple_cmd_builtin() done.
+ exec_cmd_line.c split in multiples files
2021-11-18 14:28:56 +01:00
LuckyLaszlo
91d5a0d14c pipeline_exec() complete
+ TODO : simple_cmd_builtin()
+ libft small update
2021-11-18 12:38:27 +01:00