Skip to main content
12 events
when toggle format what by license comment
Dec 21, 2018 at 14:09 history edited sudodus CC BY-SA 4.0
Alternative subshell with bash -c '...'
Dec 21, 2018 at 13:09 history edited sudodus CC BY-SA 4.0
added 24 characters in body
Dec 21, 2018 at 13:07 comment added sudodus @RoVo, That's right.
Dec 21, 2018 at 12:47 vote accept WingZero
Jan 7, 2019 at 14:46
Dec 21, 2018 at 12:03 comment added pLumo I tried to put the trap in front, too, and it will successfully kill the spawned processes, but you can not kill the menu anymore with ctrl-c.
Dec 21, 2018 at 10:46 comment added sudodus @WingZero, I added an alternative with the trap method to my answer. Try that shellscript and edit it to make it do what you want.
Dec 21, 2018 at 10:41 history edited sudodus CC BY-SA 4.0
Added detailed description how to use trap
Dec 21, 2018 at 10:08 comment added WingZero problem is i am a novice in shell scripting, so i don't know where the trap method from @RoVo needs to fit in
Dec 21, 2018 at 10:07 comment added WingZero hey, i just update my initial question, because the comment section was to small
Dec 21, 2018 at 10:03 comment added sudodus @WingZero, in that case you cannot use the method in this answer. Is RoVo's method with a trap working for you?
Dec 21, 2018 at 10:00 comment added WingZero i dont have a graphical desktop environment. and i cant install other shells so i am limited in my actions
Dec 21, 2018 at 9:40 history answered sudodus CC BY-SA 4.0