Vladimir Panteleev 0d6c6def8c t/318-i3-dmenu-desktop: Use $^X for generated script shebang (#6537)
The test creates a fake i3-msg Perl script at runtime. Previously it
used `#!/usr/bin/env perl` as the shebang, but this can fail in certain
build environments (e.g., Nix sandboxed builds) where the `perl` found
via `/usr/bin/env` may not have the same module paths as the `perl`
running the test suite.

Use `$^X` instead, which contains the path to the Perl interpreter
currently running the test. This ensures the generated script uses the
same Perl with the same `PERL5LIB` environment, guaranteeing that
`JSON::XS` and other required modules are available.
2025-12-13 08:30:29 +01:00
2025-03-21 12:48:29 +00:00

Logo i3: A tiling window manager

Build Status Issue Stats Pull Request Stats

Packages Packages

i3 is a tiling window manager for X11.

For more information about i3, please see the project's website and online documentation.

For information about contributing to i3, please see CONTRIBUTING.md.

Description
Languages
C 58%
Perl 36.4%
Raku 2.6%
Ruby 1.2%
Meson 0.7%
Other 1%