The desktop entries edited by applications like kmenuedit will leave blank in the path, and that causes the current_dir of the command to become "", making os error 2 (no such file or directory).
Now it would try to run in env::current_dir if the path was not set or not proper
The desktop entries edited by applications like kmenuedit will leave blank in the path, and that causes the
current_dir
of the command to become""
, makingos error 2 (no such file or directory)
.Now it would try to run in env::current_dir if the path was not set or not proper