mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
junit fork: delete temp file on exit
This commit is contained in:
@@ -216,6 +216,7 @@ public class JUnitForkedStarter {
|
||||
String dynamicClasspath) throws IOException, InterruptedException {
|
||||
//noinspection SSBasedInspection
|
||||
final File tempFile = File.createTempFile("fork", "test");
|
||||
tempFile.deleteOnExit();
|
||||
final String testOutputPath = tempFile.getAbsolutePath();
|
||||
|
||||
final ProcessBuilder builder = new ProcessBuilder();
|
||||
|
||||
Reference in New Issue
Block a user