ShellPkg: Do TrimSpace again after StdIn, StdOut, and StdErr are set up.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ni Ruiyu <ruiyu.ni@intel.com>
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16123 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Ni Ruiyu 2014-09-17 08:41:31 +00:00 committed by shenshushi
parent 0960ba17e5
commit 75eb337f60
1 changed files with 1 additions and 0 deletions

View File

@ -2392,6 +2392,7 @@ SetupAndRunCommandOrFile(
// Now run the command, script, or application
//
if (!EFI_ERROR(Status)) {
TrimSpaces(&CmdLine);
Status = RunCommandOrFile(
Type,
CmdLine,