Hello,

 

I just fetched the latest build of the Shell from here:

 <https://github.com/tianocore/edk2/tree/master/ShellBinPkg/UefiShell>
https://github.com/tianocore/edk2/tree/master/ShellBinPkg/UefiShell

and tried my script again.

 

Now everything works fine just as expected.

I think my version of UEFI Shell was too old and outdated.

 

Thanks for your testing.

 

Regards,

Michael

 

Von: Carsey, Jaben [mailto:jaben.car...@intel.com] 
Gesendet: Freitag, 20. September 2013 16:56
An: edk2-devel@lists.sourceforge.net
Betreff: Re: [edk2] UEFI Shell Scripting - exit command to exit the Shell

 

I just did a build on the tip of the shellpkg and I can't seem to duplicate
this issue.  I had a very small script (pasted below).  Is it possible
something else is causing an error?

 

-Jaben

 

Echo test

exit

 

 

 

 

From: Michael Lorer [mailto:michael.lo...@opus.de] 
Sent: Thursday, September 19, 2013 11:02 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] UEFI Shell Scripting - exit command to exit the Shell

 

Hello,

 

I've written a little shell script and named it startup.nsh to get it
automatically started when starting the shell.

So far it is working just fine. But the 'exit' command inside my script
(used without parameter /b) is just exiting the script itself and not the
whole shell.

 

If I call the startup.nsh script manually out of the shell the same 'exit'
command works just fine and exits the whole Shell just as expected.

 

Is there any workaround for that issue or am I missing something?

 

Thanks & Regards,

Michael

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to