mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
popen() now returns a fopencookie-backed FILE* whose fileno() yields the cookie pointer rather than a real descriptor, so poll() silently ignores the negative fd and the relay loop blocks forever waiting for command completion. See https://github.com/apache/nuttx-apps/pull/3511 Use dpopen()/dpclose() to obtain the raw bidirectional socket descriptor directly, restoring the EOF/POLLHUP command-completion signal. Assisted-by: GitHubCopilot:claude-4.8-opus Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||
| rexecd.c | ||