liqinhuixm opened a new pull request, #10325:
URL: https://github.com/apache/nuttx/pull/10325

   ## Summary
   Encapsulate the host system/popen interface to host_system.
   ## Impact
   We can use the host_system interface to execute the host command.
   ## Testing
     - Execute the `ls`,  do not receive the return result of the `ls` command.
       ret = host_system(NULL, 0, "%s", "ls");
     - Execute the `ls`,  receive the return result of the `ls` command with a 
buffer of length `buf_size`.
       ret = host_system(buf, buf_size, "%s", "ls");


-- 
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