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

--- Comment #9 from David <david.cortes.riv...@gmail.com> ---
(In reply to Ahmad Samir from comment #8)
> (In reply to David from comment #6)
> > Running 'sh file.sh' does not require a shebang. 
> [...]
> You run `sh file.sh` from terminal, using a shell, bash, zsh...etc; but
> KProcess/QProcess doesn't know that, and without that info the system call
> it'll use fails, IIUC.

It'd then be helpful to at least show a message to the user that it needs a
shebang, instead of tying to execute it as a binary. I assume it already has
the mimetype information when it attemps to run it.

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

Reply via email to