Commit Graph

10 Commits

Author SHA1 Message Date
lperrey
e138e6550b close cmd fd after each exec 2021-12-20 18:10:53 +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
a7de843dc1 check of cmd->error :
- before calling cmd_find_access()
- before calling simple_command_builtin()
2021-12-11 05:53:55 +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
b3f74c4179 refactoring exec 2021-12-01 17:24:32 +01:00
LuckyLaszlo
b265e8475a free_exit() renamed exit_free() 2021-11-29 12:44:46 +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
hugogogo
80410e6d81 gestion sigint dans heredoc fonctionne basiquement 2021-11-25 10:06:48 +01:00
LuckyLaszlo
0bd9dcb3bb simple_cmd_builtin() done.
+ exec_cmd_line.c split in multiples files
2021-11-18 14:28:56 +01:00