We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5763a35 commit 0055f7cCopy full SHA for 0055f7c
powerline_shell/segments/jobs.py
@@ -9,7 +9,8 @@ class Segment(ThreadedSegment):
9
10
def run(self):
11
self.num_jobs = 0
12
- if platform.system().startswith("CYGWIN"):
+ system = platform.system()
13
+ if system.startswith("CYGWIN") or system.startswith("MINGW"):
14
# cygwin ps is a special snowflake...
15
output_proc = subprocess.Popen(["ps", "-af"], stdout=subprocess.PIPE)
16
output = map(lambda l: int(l.split()[2].strip()),
0 commit comments