Bug 455677 - Opening bash script in Konsole just opens empty terminal window
Summary: Opening bash script in Konsole just opens empty terminal window
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 20.12.3
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-20 20:43 UTC by sammonius_s
Modified: 2022-06-30 17:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.