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

   ## Summary
   
   posix_spawn() and execve() logged every failed exec at error level.  A shell 
normally tries a program first: NSH with CONFIG_NSH_FILE_APPS spawns each 
command from PATH before its built-in command, and bash runs a script itself 
when execve() returns ENOEXEC.  So every built-in NSH command printed
   
     nxposix_spawn_exec: ERROR: exec failed: 2
   
   although nothing was wrong.  The caller gets the error code and reports it 
if it needs to.
   
   Do not log ENOENT and ENOEXEC.  Other errors are logged as before.
   
   ## Impact
   
   RELEASE
   
   ## Testing
   
   CI


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