OpenLiberty / liberty-tools-intellij

IntelliJ IDEA extension for Liberty
https://plugins.jetbrains.com/plugin/14856-open-liberty-tools
Eclipse Public License 2.0
11 stars 20 forks source link

Run Liberty Start commands on separate thread #808

Closed turkeylurkey closed 3 weeks ago

turkeylurkey commented 3 weeks ago

I'm not sure the github action tests Windows fully. Code refactored for clarity in two of the five files.

Fixes #797

turkeylurkey commented 3 weeks ago

More research shows that after the widget is created and we consider executing a command the tty object is created after 53ms on my machine. Even if we do not try to execute the command the tty object is created.

The second time we try to execute commands, after executing one, the tty object is already created and we do not wait at all.