Skip to content

Commit 06ce9b4

Browse files
committed
0730
1 parent 536f65a commit 06ce9b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/scriptUtils/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ def get_state():
4949
def get_app_pid(pkg_name):
5050
if system is "Windows":
5151
string = shell("ps | findstr %s$" %pkg_name).stdout.read()
52-
53-
string = shell("ps | grep -w %s" %pkg_name).stdout.read()
52+
else:
53+
string = shell("ps | grep -w %s" %pkg_name).stdout.read()
5454

5555
if string == '':
5656
return "the process doesn't exist."

0 commit comments

Comments
 (0)