summaryrefslogtreecommitdiff
path: root/ShellPkg/Application/Shell/ShellManParser.c
diff options
context:
space:
mode:
authorQiu Shumin <shumin.qiu@intel.com>2015-10-26 13:28:01 +0000
committershenshushi <shenshushi@Edk2>2015-10-26 13:28:01 +0000
commit490ce43d92132653a6664971218e1cb330556391 (patch)
treee43182c1f9c6d1f2e6309a00e1561cf40c84e6c4 /ShellPkg/Application/Shell/ShellManParser.c
parentc2305a4af8c78b5ce553e133e86140817851a9e8 (diff)
downloadedk2-platforms-490ce43d92132653a6664971218e1cb330556391.tar.xz
ShellPkg: Fix 'EfiShellExecute' doesn't get command status correctly.
1. Add a new function 'RunShellCommand' to return command status, thus 'EfiShellExecute' can get the command return status of 'CommandLine'. 2. Refine the code logic of 'EfiShellExecute' to make the new image of shell be loaded only if 'Environment' isn't NULL. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin.qiu@intel.com> Signed-off-by: Jin Eric <eric.jin@intel.com> Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18664 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Application/Shell/ShellManParser.c')
0 files changed, 0 insertions, 0 deletions