MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / RunCommand

Function RunCommand

ShellPkg/Application/Shell/Shell.c:2794–2800  ·  view source on GitHub ↗

Function will process and run a command line. This will determine if the command line represents an internal shell command or dispatch an external application. @param[in] CmdLine The command line to parse. @retval EFI_SUCCESS The command was completed. @retval EFI_ABORTED The command's operation was aborted. **/

Source from the content-addressed store, hash-verified

2792 @retval EFI_ABORTED The command's operation was aborted.
2793**/
2794EFI_STATUS
2795RunCommand(
2796 IN CONST CHAR16 *CmdLine
2797 )
2798{
2799 return (RunShellCommand(CmdLine, NULL));
2800}
2801
2802
2803STATIC CONST UINT16 InvalidChars[] = {L'*', L'?', L'<', L'>', L'\\', L'/', L'\"', 0x0001, 0x0002};

Callers 4

UefiMainFunction · 0.70
DoShellPromptFunction · 0.70
RunSplitCommandFunction · 0.70
RunScriptFileHandleFunction · 0.70

Calls 1

RunShellCommandFunction · 0.85

Tested by

no test coverage detected