Closed sonnyp closed 2 years ago
There are too many issues with Exec and TryExec. For example; on Arch Firefox has /usr/lib/firefox/firefox, Chromium /usr/bin/chromium, ...
Exec
TryExec
/usr/lib/firefox/firefox
/usr/bin/chromium
Right now it only works for name of binary that is present in $PATH so it's also limited for custom scripts and so on.
$PATH
This also speeds things up a bit and simplify code.
https://github.com/sonnyp/Junction/commit/9cf42c27aeb8a3e2eff45b4b7ae3fe4a7157f17c
There are too many issues with
Exec
andTryExec
. For example; on Arch Firefox has/usr/lib/firefox/firefox
, Chromium/usr/bin/chromium
, ...Right now it only works for name of binary that is present in
$PATH
so it's also limited for custom scripts and so on.This also speeds things up a bit and simplify code.