Skip to content

Telegram bridge fails with "openshell: not found" because ~/.local/bin isn't on PATH for child processes #199

@ksimback

Description

@ksimback

Environment

  • Ubuntu 24 on DigitalOcean
  • OpenShell v0.0.6 (installed to ~/.local/bin/openshell)
  • NemoClaw from main (March 17, 2026)

Problem

OpenShell installs to ~/.local/bin/, which is available in interactive bash sessions via .bashrc but not to child processes spawned by the Telegram bridge via /bin/sh. The bridge calls execSync("openshell sandbox ssh-config ...") which fails with:

/bin/sh: 1: openshell: not found

Workaround

Create a symlink: ln -s ~/.local/bin/openshell /usr/local/bin/openshell

Expected behavior

Either install.sh should install/symlink openshell to a system-wide path, or the bridge should resolve the openshell binary path explicitly rather than relying on PATH.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Integration: TelegramUse this label to identify Telegram bot integration issues with NemoClaw.Platform: UbuntuSupport for Linux Ubuntu

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions