Skip to main content
PADAM.1
Associate III
November 21, 2020
Question

How to launch STM32CubeIDE from terminal, if already open on same workspace?

  • November 21, 2020
  • 1 reply
  • 2353 views

Hello,

I have running STM32CubeIDE (eclipse) on my workspace.

At same time, I want to open a second process from a Linux terminal:

/opt/st/stm32cubeide_1.4.0/stm32cubeide --launcher.suppressErrors -nosplash \

-application org.eclipse.cdt.managedbuilder.core.headlessbuild \

-data $WORKSPACE -cleanBuild "$PROJECT/Release"

This does not work (error message: "Workspace already in use!"). This is the same behavior as if starting two GUI IDE with same workspace, but in GUI, I can open a second instance on same workspace with menu "Window->New Window".

Is there a possibility (cmd line param?) to start STM32CubeIDE in terminal on same "shared" workspace?

Best regards

Paul

This topic has been closed for replies.

1 reply

PADAM.1
PADAM.1Author
Associate III
November 21, 2020

Hello,

I found a solution/workaround, which may be interesting:

You must create a temporary workspace and import the project:

/opt/st/stm32cubeide_1.4.0/stm32cubeide --launcher.suppressErrors -nosplash \

-application org.eclipse.cdt.managedbuilder.core.headlessbuild \

-data $TMP -import $WORKSPACE/$PROJECT -cleanBuild "$PROJECT/Release"

But is there a better solution?

Best regards

Paul