wangjianyu3
59418b6149
Pack parameters of nsh_execute() as struct nsh_exec_param_s
...
1. Input redirect flags currently is hardcode, passing by arguments maybe better.
2. Only support redirect to path_name, redirect to fd is needed for pipeline.
Test
1. Redirect in
cat < /etc/init.d/rc.sysinit
2. Redirect with FIFO
mkfifo /dev/testfifo
cat /dev/testfifo &
ls > /dev/testfifo
3. NSH Params
set name `uname`
echo $name
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com >
2025-01-10 21:09:29 +08:00
..
2024-11-20 19:39:43 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:37:56 +08:00
2025-01-10 21:09:29 +08:00
2024-11-20 19:39:43 +08:00
2024-12-30 13:44:11 +08:00
2024-11-20 19:39:44 +08:00
2024-12-26 23:06:28 +08:00
2024-12-30 19:51:39 +08:00
2024-11-20 19:37:18 +08:00
2024-11-20 19:39:47 +08:00
2024-11-20 19:39:47 +08:00
2024-11-20 19:37:18 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:38:41 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:39:47 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:39:47 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:37:18 +08:00
2024-11-20 19:39:48 +08:00
2024-11-20 19:39:47 +08:00
2024-12-23 23:43:26 +08:00
2024-11-20 19:39:43 +08:00
2024-12-31 20:09:39 +08:00
2024-11-20 19:39:47 +08:00
2025-01-07 23:22:00 +08:00
2024-11-20 19:39:43 +08:00
2024-12-30 13:41:10 +08:00
2025-01-06 22:09:58 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:37:18 +08:00
2024-11-20 19:39:47 +08:00
2024-12-25 10:18:41 +08:00
2024-11-20 19:38:28 +08:00
2024-12-31 20:09:39 +08:00
2024-11-20 19:39:47 +08:00
2024-11-20 19:39:47 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:39:50 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:37:18 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:39:47 +08:00
2025-01-07 18:22:45 +08:00
2024-11-20 19:39:44 +08:00
2024-12-23 22:41:44 +08:00
2024-11-20 19:39:43 +08:00
2024-11-20 19:39:47 +08:00
2024-11-20 19:34:55 +08:00
2024-11-20 19:32:04 +08:00