File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
utbot-spring-analyzer/src/main/kotlin/org/utbot/spring/process Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import kotlinx.coroutines.runBlocking
55import mu.KotlinLogging
66import org.utbot.common.JarUtils
77import org.utbot.common.getPid
8- import org.utbot.common.utBotTempDirectory
98import org.utbot.framework.UtSettings
9+ import org.utbot.framework.plugin.services.WorkingDirService
1010import org.utbot.framework.process.AbstractRDProcessCompanion
1111import org.utbot.rd.ProcessWithRdServer
1212import org.utbot.rd.exceptions.InstantProcessDeathException
@@ -22,7 +22,6 @@ import org.utbot.spring.generated.SpringAnalyzerProcessModel
2222import org.utbot.spring.generated.SpringAnalyzerResult
2323import org.utbot.spring.generated.springAnalyzerProcessModel
2424import java.io.File
25- import java.nio.file.Files
2625
2726class SpringAnalyzerProcessInstantDeathException :
2827 InstantProcessDeathException (
@@ -69,7 +68,7 @@ class SpringAnalyzerProcess private constructor(
6968 )
7069 val cmd = obtainProcessCommandLine(port)
7170 val process = ProcessBuilder (cmd)
72- .directory(Files .createTempDirectory(utBotTempDirectory, " spring-analyzer " ).toFile())
71+ .directory(WorkingDirService .provide( ).toFile())
7372 .start()
7473
7574 logger.info { " Spring Analyzer process started with PID = ${process.getPid} " }
You can’t perform that action at this time.
0 commit comments