Skip to content

Commit b28a623

Browse files
committed
Attempted fix for windows killing subprocess
1 parent 9715930 commit b28a623

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: java/runner/java/com/senzing/runner/SnippetRunner.java

-4
Original file line numberDiff line numberDiff line change
@@ -343,11 +343,7 @@ private static void executeSnippet(String snippet,
343343
// shutdown hooks in the snippet sub-process for some reason
344344
Process killer = runtime.exec(
345345
((WINDOWS) ? "taskkill /F /PID " : "kill ") + process.pid());
346-
Thread killerr = startOutputThread(killer.getErrorStream(), System.err);
347-
Thread killout = startOutputThread(killer.getInputStream(), System.out);
348346
killer.waitFor(); // wait for the kill process to complete
349-
killerr.join();
350-
killout.join();
351347
}
352348
exitValue = process.waitFor();
353349

0 commit comments

Comments
 (0)