wangchdo commented on PR #3168:
URL: https://github.com/apache/nuttx-apps/pull/3168#issuecomment-3253240630

   > @wangchdo Great idea—thank you! And I have some questions.
   > 
   > This conflicts with the background configuration (where 
`CONFIG_NSH_DISABLEBG=n`). Since "sh" is executed as a command, it will 
repeatedly prepend "sh -c" to the start of the command and never actually run. 
For example: `telnetd &`.
   > 
   > Additionally, there are some process-related limitations—for instance, 
when built-in applications call exit(), it causes nsh_main to exit.
   
   hi @JianyuWang0623  good question! 
   
   Howeever, this is a configuration default to no, and user should be aware of 
the consequence when enable it, and should then consider to create a thread in 
their builtin implementation if needed.


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