← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #242049]: List the current process/application the system running

 

Question #242049 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/242049

obiwan-92 posted a new comment:
Ah yes.

But because you are on Windows 7, you can obtain the list with popen
command.

import subprocess as sub
p = sub.Popen("TASKLIST",stdout=sub.PIPE,stderr=sub.PIPE)
output, errors = p.communicate()
print output

After, you just have to work on the output str.

Try and say me if that's work.

Regards.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.