package sandbox import "path/filepath" func execAbs(p string) (string, error) { return filepath.Abs(p) } // blenderRoot returns the directory that contains the blender binary // (the version extract root, e.g. .../blender-versions/4.5.7). func blenderRoot(blenderBinary string) string { return filepath.Dir(mustAbs(blenderBinary)) }