#311·slides

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

Author: sidjuCreated Sep 4, 2024Updated Nov 19, 2024

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