"Burton, Ross" <[email protected]> writes: > On 18 December 2014 at 01:02, Richard Tollerton <[email protected]> > wrote: > >> `sh -e` causes any errors encountered during shell execution to abort >> the shell. For terminal sessions like devshell, this causes errors >> encountered while executing do_terminal to instantaneously kill the >> session. This is explicitly not what we want for interactive/debugging >> situations like with terminal, so just remove the '-e' from the sh >> invocation. >> > > This doesn't happen for me - starting a devshell and running "false" > doesn't cause the terminal to exit. I wonder what the difference between > your environment and mine is.
Running `false` interactively doesn't test this behavior because `sh -e` explicitly excludes interactive shells from consideration [1] [2]. You'll need to inject a `false` into run.do_terminal in order to reproduce this. [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#set [2] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_08_01 > Ross -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
