[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[QF-Test] Check If an Process is already running
is there any way to check if a specific process / client has already been started and is running atm.?
In the test I'm building up a JBoss with Maven, which fails, if there is an JBoss running.
Sometimes the test doesn’t run until the end, so I forget to stop the JBoss. When I restart the test, the Maven build fails, because the JBoss is already running.
I want to make an If-Condition before the Maven-Build to check and probably stop the JBoss process.