mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-07-25 00:07:36 +08:00

The standard popen uses the pipeline internally, so the stream returned by it can only support read-only or write-only. Now this patch is expanded through sockpair, which can support both read and write. Therefore, we can use the stream to read and write access this task (posix_spawn start). Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>