Skip to content

Linux engine process fix #1126

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Oct 10, 2022
Merged

Linux engine process fix #1126

merged 1 commit into from
Oct 10, 2022

Conversation

Domonion
Copy link
Collaborator

Fixing ubuntu process start and log creating
Fixes #1118

Type of Change

  • Minor bug fix (non-breaking small changes)

@Domonion Domonion requested a review from dtim October 10, 2022 13:49
fixing ubuntu process start and log creating
@Domonion Domonion force-pushed the kononov-log-config-fix branch from 40fd4f1 to 4fd17d4 Compare October 10, 2022 13:50
@Domonion Domonion enabled auto-merge (squash) October 10, 2022 13:52
Copy link
Collaborator

@dtim dtim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and this PR fixes the issue.

@@ -104,14 +102,14 @@ class EngineProcess(parent: Lifetime, val project: Project) {
val java =
JdkInfoService.jdkInfoProvider.info.path.resolve("bin${File.separatorChar}${osSpecificJavaExecutable()}").toString()
val cp = (this.javaClass.classLoader as PluginClassLoader).classPath.baseUrls.joinToString(
separator = ";",
separator = if (isWindows) ";" else ":",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand that cp is a classpath string and not a filesystem path in the strict sense, but maybe File.pathSeparator could be used here? What do you think?

@Domonion Domonion merged commit c30841d into main Oct 10, 2022
@Domonion Domonion deleted the kononov-log-config-fix branch October 10, 2022 14:46
denis-fokin pushed a commit that referenced this pull request Oct 12, 2022
[utbot-rd]
fixing ubuntu process start and log creating

(cherry picked from commit c30841d)
AbdullinAM pushed a commit to AbdullinAM/UTBotJava that referenced this pull request Oct 17, 2022
[utbot-rd]
fixing ubuntu process start and log creating
AbdullinAM pushed a commit to AbdullinAM/UTBotJava that referenced this pull request Oct 17, 2022
[utbot-rd]
fixing ubuntu process start and log creating
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests can't be generated in the debug IDE due to
2 participants