xiaoxiang781216 commented on code in PR #3003: URL: https://github.com/apache/nuttx-apps/pull/3003#discussion_r1964788319
########## system/fastboot/fastboot.c: ########## @@ -770,6 +784,41 @@ static void fastboot_filedump(FAR struct fastboot_ctx_s *context, fastboot_okay(context, ""); } +#ifdef CONFIG_SYSTEM_FASTBOOTD_SH +static void fastboot_sh(FAR struct fastboot_ctx_s *context, + FAR const char *arg) +{ + int ret; + + ret = system(arg); Review Comment: should we call popen? so we can retrieve the output from the command(e.g. ps). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org