Bug 439655 - RMB -> Run in Konsole breaking some scripts
Summary: RMB -> Run in Konsole breaking some scripts
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.04.3
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-08 19:24 UTC by keybreak
Modified: 2023-08-05 12:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description keybreak 2021-07-08 19:24:56 UTC
SUMMARY
RMB -> Run in Konsole
Works really not as intended, it's very different in how scripts are executed (many of them turn out utterly broken, which boggled my mind for very long time).


STEPS TO REPRODUCE
1. Create small example script named `test.sh`, make it executable:

```
#!/bin/bash

killall plasmashell
kstart5 plasmashell > /dev/null 2>&1

```
2. RMB -> Run in Konsole


OBSERVED RESULT

Plasma shell will close, but won't start, because there's something wrong.

P.S. I know for that case i could do `setsid kstart5 plasmashell > /dev/null 2>&1` and it would work, but that's just an example and not the point ;)


EXPECTED RESULT

It should work EXACTLY the same as if you:
- RMB (on Dolphin's empty space in dir) -> Open Terminal -> `./test.sh`
- F4 -> `./test.sh`
- Just open Terminal cd to dir and `./test.sh`


SOFTWARE/OS VERSIONS

Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Comment 1 thenujan 2023-08-05 12:42:27 UTC
Reproducible on 23.04.03