Files
apps/testing
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:44 +08:00
2024-12-26 23:06:28 +08:00
2024-11-20 19:39:47 +08:00
2024-11-20 19:39:47 +08:00
2024-11-20 19:39:47 +08:00
2024-11-20 19:39:47 +08:00
2024-11-20 19:39:47 +08:00
2024-11-20 19:39:47 +08:00
2024-12-30 13:41:10 +08:00
2024-11-20 19:38:28 +08:00
2024-11-20 19:39:47 +08:00
2025-01-07 18:22:45 +08:00
2024-11-20 19:32:04 +08:00