Skip to content

Commit ce7f360

Browse files
committed
Fix hard coded sh
1 parent ee835d5 commit ce7f360

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/one/profiler/AsyncProfilerLoader.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ private static String[] getEnv() throws IOException {
430430

431431
private static String[] processProfilerArgs(String[] args) throws IOException {
432432
List<String> argList = new ArrayList<>();
433+
argList.add("sh");
433434
argList.add(getProfilerPath().toString());
434435
argList.addAll(Arrays.asList(args));
435436
return argList.toArray(new String[0]);

0 commit comments

Comments
 (0)