Skip to content

Commit

Permalink
Update ProcessExecutor for thread-safety
Browse files Browse the repository at this point in the history
  • Loading branch information
aglitchman authored Aug 21, 2020
1 parent e9536ad commit 2c7b7c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.util.stream.Collectors;

public class ProcessExecutor {
private final StringBuilder output = new StringBuilder();
private final StringBuffer output = new StringBuffer();
private final HashMap<String, String> env = new HashMap<>();
private File cwd = null;
private boolean DM_DEBUG_COMMANDS = System.getenv("DM_DEBUG_COMMANDS") != null;
Expand Down

0 comments on commit 2c7b7c5

Please sign in to comment.