xiaoxiang781216 commented on code in PR #10325:
URL: https://github.com/apache/nuttx/pull/10325#discussion_r1299807344


##########
arch/sim/src/sim/posix/sim_hostmisc.c:
##########
@@ -108,6 +109,61 @@ int host_backtrace(void** array, int size)
 #endif
 }
 
+/****************************************************************************
+ * Name: host_system

Review Comment:
   do you want the caller call host_read/host_close by self? It's a common case 
to call system and gather the output. Exposing host_popen will make the caller 
duplicate the similar code in many places.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to