Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shared/shell: Add fixes for the init script scenario
This adds some fixes to the scenario when the shell is run with the -i/--init-script command line option. In bt_shell_dequeue_exec, if a prompt was released with the current line, all other prompts, if any left, should also try to be released. If no other prompts are available, the next line should be executed on bt_shell_noninteractive_quit. In bt_shell_prompt_input, if data is already available in data.queue, execution should continue and the prompt should be released with the input.
- Loading branch information