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

            Bug ID: 439655
           Summary: RMB -> Run in Konsole breaking some scripts
           Product: dolphin
           Version: 21.04.3
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: fear.fil...@gmail.com
                CC: kfm-de...@kde.org
  Target Milestone: ---

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

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

Reply via email to