snap run --shell qrshare
echo $PATH
whereis qrcp
exit
and let us know the outputs please.
This should drop you into the same environment as your snap runs in but as Bash rather than via your app. As such, if the Bash environment can find it, it makes it likely it’s your app itself causing complications.
user@hp-laptop:~$ snap run --shell qrshare
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
user@hp-laptop:/home/user$ echo $PATH
/snap/qrshare/5/usr/sbin:/snap/qrshare/5/usr/bin:/snap/qrshare/5/sbin:/snap/qrshare/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/qrshare/5/gnome-platform/usr/bin
user@hp-laptop:/home/user$ whereis qrcp
bash: /usr/bin/whereis: Permission denied
user@hp-laptop:/home/user$ sudo whereis
bash: /usr/bin/sudo: Permission denied
user@hp-laptop:/home/user$ su
bash: /usr/bin/su: Permission denied
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: ProcessException: No such file or directory
Command: /snap/qrshare/13/bin/qrcp -i wlo1 receive