rtk-ai/rtk

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

Open

#1,060 建立於 2026年4月7日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Rust (48,085 star) (2,914 fork)batch import
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

  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>.

貢獻者指南

`rtk ps aux <process>` returns empty despite running process · rtk-ai/rtk#1060 | Good First Issue