Skip to content

Commit

Permalink
feat(s3stream): command utils make run to static method (#710)
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Han <[email protected]>
  • Loading branch information
superhx authored Nov 23, 2023
1 parent d6bd72f commit 86b43b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import java.io.IOException;

public class CommandUtils {
public CommandResult run(String... cmd) {
public static CommandResult run(String... cmd) {
try {
Process p = Runtime.getRuntime().exec(cmd);
try (BufferedReader inputReader = p.inputReader();
Expand Down

0 comments on commit 86b43b6

Please sign in to comment.