https://bugs.kde.org/show_bug.cgi?id=429839

--- Comment #8 from Ahmad Samir <a.samir...@gmail.com> ---
For .js files; the file I was testing with was missing the shebang, adding
e.g.:
#!/usr/bin/gjs

makes it not show the "execvp" error.

(In reply to David Faure from comment #7)
> Alternatively, KFind should call setShowOpenOrExecuteDialog(true), no?
> 
KFind still uses KRun though. I'll port it...

> This makes me wonder about the usefulness of setRunExecutables though, if
> all "file manager like" applications should use
> setShowOpenOrExecuteDialog(true) instead, and "normal apps" (which want to
> open documents, not run stuff) should call neither.

It could be useful for users of OpenUrlJob; explicitly calling
setRunExecutables(false) could be useful, 'yes, it's the default, but the
explicit call is more "peace of mind"'...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to