- Joined
- Sep 15, 2011
- Messages
- 2
- Reaction score
- 0
- Points
- 1
how can i get list of applications running in mac for the current user?i tried using
Process p = Runtime.getRuntime().exec("ps -u "+UserName+"");
but it gives list of all system and running process name. i just need only the application name like firefox,internet explorer etc. ..
Thanks
raaz
Process p = Runtime.getRuntime().exec("ps -u "+UserName+"");
but it gives list of all system and running process name. i just need only the application name like firefox,internet explorer etc. ..
Thanks
raaz