bugeffort-smallfilter-qualitygood first issue
描述
Description
rtk ps aux <process> supposed to mirror ps aux | grep <process> output, but returns nothing even when process active. Example: rtk ps aux chrome while Chrome running, whereas ps aux | grep chrome lists chrome helper processes. Running bare rtk ps aux still shows processes, so regression specific to filtered form.
Steps to Reproduce
- Start Chrome (or any process with stable name)
- Run
rtk ps aux chrome - Verify
ps aux | grep chromeshows entries - Observe
rtk ps aux chromeexits 0 without listing anything, whilertk ps auxalone lists processes
Expected Behavior
CLI should list matching processes exactly like ps aux | grep chrome when process exists.
Actual Behavior
ps aux | grep chrome shows chrome tasks but rtk ps aux chrome prints nothing and exits successfully even though process active. rtk ps aux without filter continues to show process table normally.
Environment
- Browser: Chrome (process used in reproduction)
- OS: Ubuntu 24.04
- Version: not provided
Screenshots/Logs
N/A
Additional Context
Unfiltered rtk ps aux output remains correct; bug isolated to filtering intended to behave like ps aux | grep <process>.