Bug 455677

Summary: Opening bash script in Konsole just opens empty terminal window
Product: [Applications] konsole Reporter: sammonius_s
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: ninjalj
Priority: NOR    
Version: 20.12.3   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sammonius_s 2022-06-20 20:43:18 UTC
SUMMARY
opening a shell script with Konsole does not run it (and even xterm can do that)

STEPS TO REPRODUCE
1.  create shell script with ```#!/bin/sh``` at top.
2.  mark it as executable
3.  right-click it in Dolphin > click "run in Konsole"

OBSERVED RESULT
It opens an empty terminal window at the scripts directory

EXPECTED RESULT
It runs the script and displays output

SOFTWARE/OS VERSIONS
Debian 11 Stable, KDE Plasma
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version:  5.15.2

ADDITIONAL INFORMATION
Dolphin version: 20.12.2 (probably not important)
Comment 1 sammonius_s 2022-06-20 20:46:40 UTC
Nvm it works now for some reason. First it was telling me that there was no "#!..." at the top of the script even though there was, so this could have been some caching thing that happened by coincidence. Sorry for the trouble.