<p>Ok, got it, but to quote yourself:</p>
<blockquote>
<p>We just need to wrap existing consumers of the shell with a while loop to avoid functional changes in existing code which doesn't wish to have a shell capable of exiting.</p>
</blockquote>
<p>would mean to avoid functional changes we need to touch <em>every</em> call of <code>shell_run</code> then... Given that we use that a lot, this seems somewhat of a big effort to me. As a compromise: how about introducing <code>shell_run_once()</code> to the shell's with the current functionality of <code>shell_run()</code> (+ the one introduced in this PR) and moving <code>shell_run()</code> to a function that calls <code>shell_run_once()</code> in an infinite loop?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/10788?email_source=notifications&email_token=ABE7WYAO6QB5PRTBYW6FIELQKMSONA5CNFSM4GQN74EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7CP37A#issuecomment-533003772">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYCAZW3SLGGO3Y3UZTTQKMSONANCNFSM4GQN74EA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYDUSQHP2KDTFB7TLTDQKMSONA5CNFSM4GQN74EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7CP37A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/10788?email_source=notifications\u0026email_token=ABE7WYAO6QB5PRTBYW6FIELQKMSONA5CNFSM4GQN74EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7CP37A#issuecomment-533003772",
"url": "https://github.com/RIOT-OS/RIOT/pull/10788?email_source=notifications\u0026email_token=ABE7WYAO6QB5PRTBYW6FIELQKMSONA5CNFSM4GQN74EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7CP37A#issuecomment-533003772",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>