Skip to content

Commit

Permalink
0730
Browse files Browse the repository at this point in the history
  • Loading branch information
gb112211 committed Jul 30, 2015
1 parent 536f65a commit 06ce9b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/scriptUtils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def get_state():
def get_app_pid(pkg_name):
if system is "Windows":
string = shell("ps | findstr %s$" %pkg_name).stdout.read()
string = shell("ps | grep -w %s" %pkg_name).stdout.read()
else:
string = shell("ps | grep -w %s" %pkg_name).stdout.read()

if string == '':
return "the process doesn't exist."
Expand Down

0 comments on commit 06ce9b4

Please sign in to comment.