nuttx-apps/builtin
wangjianyu3 3da204c23e 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>
2024-11-11 10:36:46 +08:00
..
registry app/builtin: simplify the application registraion flow 2020-05-18 09:51:09 -06:00
.gitignore build: Remve the unnecessary .gitignore 2020-05-23 15:56:35 +01:00
builtin_list.c Change all sizeof(arr)/sizeof(arr[0]) to nitems 2023-08-17 22:51:51 +03:00
builtin_list.h.in add initial cmake build system 2023-07-08 13:52:02 +08:00
builtin_proto.h.in add initial cmake build system 2023-07-08 13:52:02 +08:00
CMakeLists.txt Revert "cmake:builtin register support NONE srcs target" 2024-08-16 15:21:50 +08:00
exec_builtin.c Pack parameters of nsh_execute() as struct nsh_exec_param_s 2024-11-11 10:36:46 +08:00
Make.defs Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),) 2022-10-16 14:59:08 +02:00
Makefile Enhance Makefile to avoid "Argument list too long" 2023-08-10 11:16:07 +08:00