nuttx-apps/system
Nightt fa2dd70386 system/popen: Avoid copying FILE
Use fopencookie() to attach the popen fd and shell pid to the returned FILE stream instead of copying FILE into the popen container.

Keep the upstream dpopen()/dpclose() implementation as the process and descriptor backend, and make pclose() close the cookie-backed stream directly.

Fixes #2937.

Signed-off-by: Nightt <87569709+nightt5879@users.noreply.github.com>
2026-06-09 19:35:15 +08:00
..
adb
adcscope
argtable3
batterydump
cdcacm
cfgdata
cle
composite
conntrack
coredump
cpuload
critmon
cu
dd
debugpoint
dhcp6c
dhcpc
dumpstack
fastboot
fdt
flash_eraseall
flatbuffers
gcov
gdbstub
gprof
hex2bin
hexed
hostname
i2c
iptables
irtest
libffi
libuv
lm75
lsan
lzf
mdio
microros
netdb
nsh
ntpc
nxcamera
nxcodec
nxdiag
nxinit
nxlooper
nxmbclient
nxplayer
nxrecorder
ofloader
ping
ping6
popen system/popen: Avoid copying FILE 2026-06-09 19:35:15 +08:00
psmq
ptpd
readline
resmonitor
sched_note
sensorscope
sensortest
setlogmask
settings
smf
spi
stackmonitor
syslogd
system
taskset
tcpdump
tee
telnet
telnetd
termcurses
trace
ubloxmodem
uniqueid
uorb
usbmsc
vi
vncviewer
ymodem
zlib
zmodem
.gitignore
CMakeLists.txt
Make.defs
Makefile