rtk-ai/rtk

`rtk ps aux <process>` returns empty despite running process

Open

#1060 opened on Apr 7, 2026

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Rust (48,085 stars) (2,914 forks)batch import
bugeffort-smallfilter-qualitygood first issue

Description

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

  1. Start Chrome (or any process with stable name)
  2. Run rtk ps aux chrome
  3. Verify ps aux | grep chrome shows entries
  4. Observe rtk ps aux chrome exits 0 without listing anything, while rtk ps aux alone 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>.

Contributor guide