Skip to content

Background PID Tracking Not Supported on Windows #12

@akramcodez

Description

@akramcodez

Description

ShellTool attempts to detect PIDs for background commands, but the logic relies on pgrep, which is explicitly skipped on Windows:

if (os.platform() !== 'win32') {
  // pgrep logic
}

As a result, the backgroundPids field is always empty on Windows, even when background processes are successfully started using start /b.

Impact

  • Windows users cannot verify whether a background process started
  • The agent cannot capture PIDs needed to stop or manage spawned processes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions