Skip to content

Add an FYI that command block execution is quite broken if installed via snap #311

@sidju

Description

@sidju

Describe the bug
When executing through snap the user's PATH variable is ignored, causing per-user applications to be inaccessible when executing command blocks and probably causing unexpected versions to be used of some tools.

This isn't in itself a bug, but imo. the absence of documentation to this fact is.

To Reproduce
Create a markdown document with a codeblock as follows:
bash env | grep PATH
The PATHs printed contains only standard system paths and snap's overrides, no user specific additions or changes.

Expected behavior
This should be clearly informed as a caveat to installing with Snap and as a gotcha where codeblock execution is described.

Desktop (please complete the following information):

  • OS: Ubuntu

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