Hi Friends,
I need to write a piece of code to identify if an Excel session(the process which is listed in the Task Manager) is already running or not?. Can anyone guide me with this?
Any help will be much appreciated!
Regards,
Dinil
Hi Friends,
I need to write a piece of code to identify if an Excel session(the process which is listed in the Task Manager) is already running or not?. Can anyone guide me with this?
Any help will be much appreciated!
Regards,
Dinil
I don't know but If you can mess with tasklist and subprocess module (for XP/VISTA). This is purely untested as I'm not sure if tasklist returns anything!
You can pipe top to a file on Linux and then read the file.
Apparently you can use WMI for MS WIndows but I have not used it http://timgolden.me.uk/python/wmi_cookbook.html#running_processes
Hi got a nice piece of code from this site:
http://code.activestate.com/recipes/303339/
I am now able to check if an Excel process is running or not. The code does not use WMI and works fine on Windows :)....
Thanks for the help!!!....
Thanks and Regards,
Dinil
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.