从UEFI应用程序内部运行UEFI shell命令 [英] Run a UEFI shell command from inside UEFI application
问题描述
我是UEFI应用程式开发的新手。
I'm new to UEFI application development.
我的要求是
从我的UEFI应用程序( app.efi
)源代码运行UEFI shell命令。
需要指导我如何做到这一点。
I need to run an UEFI shell command from my UEFI application (app.efi
) source code.
Need guidance on how I can do this.
例如,
< UEFI shell中的p>cp
命令用于将文件从一个路径复制到
另一个路径。我想在程序中使用
(app.efi
)源代码。
cp
command in UEFI shell is used to copy a file from one path to another. I want to do this programmatically inside my application (app.efi
) source code.
编辑:我在寻找类似于 system(command );
I'm looking for something similar to system("command");
function in Linux.
如何实现?
推荐答案
您是在寻找内置的东西,还是可以使用nshell?它是一个单独的应用程序,但它可以为您执行一个副本。 https://software.intel.com/en-us/articles/uefi-shell 请注意,命令语法与bash不同。
Are you looking for something that is built-in, or could you use nshell? It is a separate application, but it could execute a copy for you. https://software.intel.com/en-us/articles/uefi-shell Note that the command syntax is not identical to bash.
这篇关于从UEFI应用程序内部运行UEFI shell命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!