I think that you would need to switch from EDK Shell to UEFI Shell to enable 
that feature.  Then you could change the CWD via the optional environment 
variable parameter.

-Jaben

From: Duane Voth [mailto:dua...@gmail.com]
Sent: Friday, May 31, 2013 2:52 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Setting an application's current working directory

The Shell Execute function, which looks like this:

mEfiShellEnvironment2->Execute(*ParentHandle, CommandLine, Output)

needs to be able to set the working directory for the new program.  (In the 
POSIX world working directory is inherited from the parent.)  If no such 
inheritance is possible, this would be easy enough to do via a fourth 
argument...  But is there a way to set the executed program's working directory 
from the "parent" in the present moment?

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to