Commit Graph
55 Commits
Author SHA1 Message Date
yosyo 3065937842 🔨」 fix(exec_cmd): fixed command not being executed in a fork 2024-07-06 18:04:35 +02:00
yosyo 4793df800d 」 feat(exec_builtins): fixed builtins exec from a fork 2024-07-06 12:04:14 +02:00
yosyo 8769b5d25f 🔨」 fix: fixed some things. 2024-07-04 12:08:27 +02:00
yosyo 80ef34f45b 」 feat(exec_builtins / quote parsing): did builtins execution, wip quote parsing (don't work for the moment) 2024-07-04 11:45:37 +02:00
y-syo 5e68b7342d 🏗️」 wip(buildtins:export): testing things, might broke. 2024-06-28 10:12:19 +02:00
y-syo 15f87d9a37 🔨」 fix(exec_cmd): fixed counter 2024-06-27 14:29:14 +02:00
y-syo 9980762f0c 🏗️」 wip(builtins): working on builtins... 2024-06-26 10:21:42 +02:00
y-syo d3a8e94779 🔨」 fix: invalid fd close 2024-06-25 11:38:35 +02:00
y-syo d9771f26a4 🏗️」 wip(exec_single_cmd:command_not_found): correct command is not found msg 2024-06-24 14:06:31 +02:00
y-syo d5c8727093 🔨」 fix(split_cmd): fixed command execution + null return code no longer show 2024-06-24 13:05:47 +02:00
y-syo 831d046fcb 」 feat: command return code msg + env norm 2024-06-24 12:57:03 +02:00
y-syo 667beff259 🔨」 fix(env): getters now dup the value, protect possible unwanted change 2024-06-24 10:32:19 +02:00
y-syo a2a9e362d3 」 feat: pipe are now piping D: 2024-06-23 03:53:22 +02:00
yosyo 87f031c87f 🔨」 fix(exec_cmd): fixed waitpid, now wait for all process, not just first one (and minor fixes) 2024-06-21 10:01:05 +02:00
yosyo 59a2ce8838 🏗️」 wip(main.c): changed main to execute commands 2024-06-21 09:59:31 +02:00
y-syo 2dc8817d98 🔨」 fix(exec_cmd): fixed some things. 2024-06-18 20:31:40 +02:00
yosyo 8ec6d94a52 🔨」 fix(get_path): fixed algorythm for better performances 2024-06-13 14:21:45 +02:00
y-syo f70c506fed 🔨」 fix(exec_fn): fixed exec functions, not normed 2024-06-10 18:17:12 +02:00
y-syo e0bc79fb3b 」 feat: now in header :D 2024-06-10 17:09:21 +02:00
y-syo 0266cee5cb 🔨」 fix(env_cmd): fixed strcmp and env cmds 2024-06-10 17:03:14 +02:00
y-syo 815689e72f 🏗️」 wip(env): not tested, could not work 2024-06-09 16:03:09 +02:00
y-syo cf0a230f28 ✏️」 norm(src/exec/*): normed everything... 2024-06-05 01:23:18 +02:00
y-syo 5642c267f0 🔨」 fix: fixed split cmd when there is no path var, added split cmd execution to the main 2024-06-04 22:28:13 +02:00
y-syo b7601617cc 」 feat(exec_cmd): commands execution is back !
This reverts commit 06f2480711.
2024-06-04 21:40:14 +02:00
y-syo 8355438ee8 🎉」 init(exec_split_cmd): branch merge from mmoussou 2024-06-04 21:38:43 +02:00
yosyo 0e572cd344 」 feat(Makefile): made the makefile cute :3 (and use cc cuz gcc is way faster than clang, GNU supremacy) 2024-06-03 15:49:39 +02:00
yosyo 3f353e445e 🔨」 fix(exec.h): fixed wrong header 2024-06-03 15:28:26 +02:00
yosyo 06f2480711 Revert "「」 feat(exec_cmd): can now execute commands ! still kind of a wip tho"
This reverts commit 32e09ff98a.
2024-06-02 21:18:42 +02:00
yosyo 32e09ff98a 」 feat(exec_cmd): can now execute commands ! still kind of a wip tho 2024-06-02 21:17:02 +02:00
y-syo d84749d009 🔨」 fix(env.h): fixed header protection 2024-05-30 15:42:59 +02:00
yosyo ebe3560d03 🔨」 fix(env commands): fixed segfault 2024-05-27 18:06:14 +02:00
yosyo 64f495b114 」 feat(env_get_value): added a func to get value of a variable with the env struct 2024-05-27 13:13:46 +02:00
yosyo 5663190865 」 feat(heredoc): multiple heredoc implementation 2024-05-23 07:19:42 +02:00
yosyo d2b59c2344 」 feat(.gitignore): we need to stop pushing our main D: 2024-05-22 15:39:43 +02:00
yosyo 124d86dd92 🔨」 fix(main): me dumb 2024-05-22 15:38:50 +02:00
yosyo dac5ad71bc 🔨」 fix: revert old main, my bad 2024-05-22 14:53:27 +02:00
yosyo f1a4db8bc6 🔨」 fix(env #4): fixed leaks and normed :D 2024-05-22 14:51:52 +02:00
yosyo 0020764f51 」 feat(heredoc.c): ft_heredoc :D 2024-05-21 00:36:01 +02:00
yosyo ad087c1275 🔨」 fix: forgot a ) D: 2024-05-21 00:29:11 +02:00
yosyo 65a19784fa 📝」 doc(includes): added doc for env func 2024-05-21 00:21:51 +02:00
yosyo 823dbba5bd 🔨」 fix(env_delete): fixed for edge-case (first element) 2024-05-20 23:59:11 +02:00
y-syo 7b18eb6327 🏗️」 wip(heredoc): working on the heredoc... 2024-05-20 11:22:25 +02:00
yosyo 3ab8361d69 🏗️」 wip(exec/get_path): can get all files in path, only printing for now. 2024-05-19 05:49:22 +02:00
yosyo cff9e40005 」 feat(env): added environment functions :D 2024-05-06 20:54:12 +02:00
yosyo 26b2f18a3a 🔨」 fix(include): added stdint, added functions in execution header 2024-05-06 20:52:14 +02:00
y-syo 51203c1a43 🔨」 fix(libft): fixed compilation errors 2024-04-30 11:05:07 +02:00
y-syo 306dc26309 🔨」 fix(Makefile): fixed compilation error 2024-04-29 13:57:27 +02:00
y-syo 43dd7bde4a 🏗️」 wip(env_cmd.c): working on the env commands 2024-04-29 13:56:16 +02:00
y-syo 9c0be09aa1 」 feat(headers): organized header files 2024-04-29 13:55:21 +02:00
y-syo 73bb992b01 🔨」 fix(libft): replaced libft by a better one :D 2024-04-29 13:53:00 +02:00
y-syo 77786466e3 🏗️」 wip(minishell.h): added env things to the header 2024-04-29 13:06:19 +02:00
y-syo 6c254630fa 🔨」 fix(Makefile): added multithreading compilation for libft 2024-04-26 13:57:39 +02:00
y-syo 5abd93b950 」 feat: added include and header file 2024-04-26 13:54:10 +02:00
y-syo 44d1442585 📝」 doc(LICENSE): added the LICENSE file 2024-04-26 10:42:16 +02:00
y-syo d2527ef32f 🗑️」 clean: deleted useless files 2024-04-25 12:09:14 +02:00