Bug 429518

Summary: Timer does not run configured command
Product: [Plasma] kdeplasma-addons Reporter: dvaldes8128 <d.valdes8128>
Component: timerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: major CC: corebell.it, nate
Priority: NOR    
Version: 5.20.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description dvaldes8128 2020-11-22 18:16:12 UTC
SUMMARY
Timer does not run configured command (at least on amd ryzen5)

STEPS TO REPRODUCE
1. add timer to the desktop
2. open timer's configuration window>>advanced.
3. turn on the run command option an set a command easy to check(ex. mkdir ~/foo)
4. rigth click on the timer and set a short (ex. 30 sec) timer

OBSERVED RESULT

after you saw the timer finished notification no dir had been created.


EXPECTED RESULT

a folder has been created at home dir


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: arch, kernel 5.9.6
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.75
Qt Version: 

ADDITIONAL INFORMATION

amd RYZEN 5 3550H
Comment 1 corebell.it 2020-12-07 11:38:38 UTC
It does work correctly. In your example - `mkdir ~/foo` - the mkdir program will receive "~/foo" string as passed which is not what you intended to do. Pass full path instead or run it in bash/sh that will resolve special character "~" into your home dir.
Comment 2 corebell.it 2020-12-07 11:43:19 UTC

*** This bug has been marked as a duplicate of bug 424349 ***