import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class CommandPrompt {
<BUG>static Process p;
ProcessBuilder builder;</BUG>
public String runCommand(String command) throws InterruptedException, IOException {
p = Runtime.getRuntime().exec(command);
BufferedReader r = new BufferedReader(new InputStreamReader(p.getInputStream()));

import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class CommandPrompt {
Process p;
ProcessBuilder builder;
public String runCommand(String command) throws InterruptedException, IOException {
p = Runtime.getRuntime().exec(command);
BufferedReader r = new BufferedReader(new InputStreamReader(p.getInputStream()));
