mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-01-31 21:41:07 +00:00
Use ComSpec in Manual Viewer
This commit is contained in:
parent
5ba11915ae
commit
50c6d88ba9
@ -118,7 +118,7 @@ public class ManualViewerCommandWrappedOption implements CustomOption {
|
||||
ManualViewerCommandWrappedOption option = new ManualViewerCommandWrappedOption();
|
||||
|
||||
if (Platform.CURRENT_PLATFORM.getOperatingSystem() == OperatingSystem.WINDOWS) {
|
||||
option.setCommandString("cmd.exe");
|
||||
option.setCommandString(System.getenv("ComSpec"));
|
||||
String[] args = new String[] { "/c", "start" };
|
||||
option.setCommandArguments(args);
|
||||
option.setUrlReplacementString(DEFAULT_URL_REPLACEMENT_STRING);
|
||||
|
Loading…
Reference in New Issue
Block a user