My220x Posted July 19, 2008 Posted July 19, 2008 Does anyone know what the Java code would be to check taskmanager to see if an application is open and if not start it? I have Googled but could not find anything.
rob_f Posted July 21, 2008 Posted July 21, 2008 The proper way to do it would be to use JNI to interface with Windows Management Instrumentation (WMI). List currently running processes (Windows) - Real's Java How-to offers a way by capturing the stdout of tasklist.exe, a command-line variant of taskmgr. hth
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now