mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-23 20:52:03 +00:00
BSim: Enable stderr display on console in runCommand()
This commit is contained in:
parent
64b70d8ef7
commit
d74764ebf5
@ -691,8 +691,9 @@ public class BSimControlLaunchable implements GhidraLaunchable {
|
||||
Process process = processBuilder.start();
|
||||
|
||||
new IOThread(process.getInputStream(), true).start();
|
||||
IOThread errThread = new IOThread(process.getErrorStream(), true);
|
||||
IOThread errThread = new IOThread(process.getErrorStream(), false);
|
||||
errThread.start();
|
||||
errThread.join(); // Ensure all stderr output is processed to avoid mixed-up console output
|
||||
|
||||
int retval = process.waitFor();
|
||||
return retval;
|
||||
|
Loading…
Reference in New Issue
Block a user