mirror of https://github.com/acidanthera/audk.git
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:
parent
0960ba17e5
commit
75eb337f60
|
@ -2392,6 +2392,7 @@ SetupAndRunCommandOrFile(
|
|||
// Now run the command, script, or application
|
||||
//
|
||||
if (!EFI_ERROR(Status)) {
|
||||
TrimSpaces(&CmdLine);
|
||||
Status = RunCommandOrFile(
|
||||
Type,
|
||||
CmdLine,
|
||||
|
|
Loading…
Reference in New Issue