Hi,
is there a possibility to find out if a process is running or not based on it's name?
Note:The process was not started in the same context.
The solution must be better than the following:
Runtime.getRuntime().exec("ps x | grep processname").getInputStream()
etc..
Thank you
is there a possibility to find out if a process is running or not based on it's name?
Note:The process was not started in the same context.
The solution must be better than the following:
Runtime.getRuntime().exec("ps x | grep processname").getInputStream()
etc..
Thank you