We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 536f65a commit 06ce9b4Copy full SHA for 06ce9b4
python/scriptUtils/utils.py
@@ -49,8 +49,8 @@ def get_state():
49
def get_app_pid(pkg_name):
50
if system is "Windows":
51
string = shell("ps | findstr %s$" %pkg_name).stdout.read()
52
-
53
- string = shell("ps | grep -w %s" %pkg_name).stdout.read()
+ else:
+ string = shell("ps | grep -w %s" %pkg_name).stdout.read()
54
55
if string == '':
56
return "the process doesn't exist."
0 commit comments