ngreenstein / alfred-process-killer

An Alfred 2 workflow that makes it easy to kill misbehaving processes. It is, in essence, a way to easily find processes by name and kill them using `kill -9`.
658 stars 36 forks source link

Workflow is always using the fallback search #2

Closed atomicptr closed 11 years ago

atomicptr commented 11 years ago

The workflow is only using the fallback search for me when i try to add a parameter.

OS X version: 10.8.3 Alfred version: 2.0.3

ngreenstein commented 11 years ago

Hi, Can you give an example of a query that is failing?
What version of OS X are you using?

atomicptr commented 11 years ago

I attached a new screenshot to the issue.

Some queries i tried were:

"kill it" for iTunes "kill osf" for Osfoora

Well basicly every query i'm trying fails :).

ngreenstein commented 11 years ago

Thanks! The image wouldn't load for me yesterday :/

What's the output of running ps -A -o pid -o %cpu -o comm | grep -i [^/]*query[^/]*$ (where 'query' is one of the queries that fails, like 'it') in Terminal?

atomicptr commented 11 years ago

I tried your snippet with "it": http://d.pr/i/wG59

ngreenstein commented 11 years ago

Thanks! That part is working as expected. Could you run these Ruby scripts and paste the outputs?

script 1 script 2

atomicptr commented 11 years ago

Found the problem and fixed it #4