Announcement

Collapse
No announcement yet.

List running applications

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • List running applications

    You can use below script to list running applications in endpoint,


    Code:
    import subprocess;
    process = subprocess.Popen(['tasklist'],stdout=subprocess.PIPE) ;
    for line in iter(process.stdout.readline,''):
        print line.rstrip();
    Note: Please refer attach text file for script text without indentation error.


    sample output would be ,
    Click image for larger version

Name:	running_applications.jpg
Views:	1
Size:	140.2 KB
ID:	4571







    Last edited by mkannan; 09-12-2016, 01:35 PM.
Working...
X