Skip to content

How to add internal command used to enter system shell #213

Answered by daniele77
marklion asked this question in Q&A
Discussion options

You must be logged in to vote

Are you really sure that the process exited?
When you call system("/bin/bash"), you're getting a brand new bash prompt, which might seem like the process exited.
Write "exit" to exit the new bash shell you just created using the bash command. It should return to the cli application.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by daniele77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #212 on September 11, 2023 16:36.