[frameworks-kio] [Bug 431233] Fails to execute .sh shell script file that lacks a shebang

Ahmad Samir bugzilla_noreply at kde.org
Thu Apr 22 01:32:48 BST 2021


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

--- Comment #8 from Ahmad Samir <a.samirh78 at gmail.com> ---
(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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list