audk/ShellPkg/Application/Shell
Olivier Martin cd39fe082c ShellPkg: Do not mix status when executing a command
The function InternalShellExecuteDevicePath() did not differentiate an error occuring during the preparation of an image and an error occurring during its execution.

A use case of the issue was when a EFI application was called in a EFI Shell script. If the EFI application was returning an error then the NSH script stopped its execution. While the EFI Shell specification says the script should continue its execution (see 4.2 Error Handling).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Jaben Carsey <Jaben.Carsey@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15523 6f19259b-4bc3-4df7-8a09-765794883524
2014-05-13 21:16:42 +00:00
..
ConsoleLogger.c ShellPkg: Remove ASSERT 2014-01-16 16:53:23 +00:00
ConsoleLogger.h Fix CRLF format 2014-01-22 08:40:29 +00:00
ConsoleWrappers.c ShellPkg: Change StdIn redirection 2014-01-17 17:51:09 +00:00
ConsoleWrappers.h ShellPkg: Fixes the shell so output redirection works for the 'mode' command 2013-10-24 17:47:57 +00:00
FileHandleInternal.h Fix CRLF format 2014-01-22 08:40:29 +00:00
FileHandleWrappers.c ShellPkg: Return the failure 2014-01-16 16:53:56 +00:00
FileHandleWrappers.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
Shell.c ShellPkg: Do not mix status when executing a command 2014-05-13 21:16:42 +00:00
Shell.h ShellPkg/Shell: Fix reporting of exit status in ShellProtocol.Execute 2014-01-24 22:27:11 +00:00
Shell.inf ShellPkg: Fixes for shell application launch, argument handling, and version output: 2013-10-18 15:49:23 +00:00
Shell.uni ShellPkg: Fixes for shell application launch, argument handling, and version output: 2013-10-18 15:49:23 +00:00
ShellEnvVar.c ShellPkg: Clean up header file usage. 2012-11-13 22:39:09 +00:00
ShellEnvVar.h Refine comments and two code style. 2011-09-02 08:05:34 +00:00
ShellManParser.c Follow Shell specification to make sure the “command.man” file is always used no matter “command.efi -?” or “command -?” is typed. 2013-12-09 02:24:39 +00:00
ShellManParser.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
ShellParametersProtocol.c Update the comments in function headers to follow Doxygen special documentation blocks in section 2.3.5. 2014-01-23 00:27:52 +00:00
ShellParametersProtocol.h ShellPkg: Clean up header file usage. 2012-11-13 22:39:09 +00:00
ShellProtocol.c ShellPkg: Do not mix status when executing a command 2014-05-13 21:16:42 +00:00
ShellProtocol.h ShellPkg: Do not mix status when executing a command 2014-05-13 21:16:42 +00:00