Skip to content

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

Closed

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.

Activity

  1. brianwtaylor commented on Mar 17, 2026

    @brianwtaylor
    Contributor

    PR #222 also adds resolveOpenshell() to locate the binary when ~/.local/bin isn't on PATH for child processes launched via nohup/systemd.

  2. added
    platform: ubuntu
    integration: telegram
    on Mar 18, 2026
  3. added a commit that references this issue on Mar 28, 2026
    a3af9af
  4. added
    area: integrations
    on Nov 17, 2026
  5. added theissue type on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: integrationsintegration: telegramplatform: ubuntu

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions