Bug 263705 - Krunner does not set session before executing
Summary: Krunner does not set session before executing
Status: RESOLVED DUPLICATE of bug 374909
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-20 03:21 UTC by poelzi
Modified: 2020-10-30 08:05 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 poelzi 2011-01-20 03:21:48 UTC
Version:           unspecified (using KDE 4.5.5) 
OS:                Linux

As a application starter, krunner should do setsid() before executing so the started program will get a new session.
The session id is a very good way to to distinguish different program groups, but currently all programs started under krunner have the same.

This increases allows systems to be better scheduled with the autogrouper of 2.6.38 or ulatencyd.

Reproducible: Always

Steps to Reproduce:
execute some programs with krunner
execute: ps xafw -o pid,args,session

Actual Results:  
sessions of all childs are the same.

Expected Results:  
should be different
Comment 1 Vishesh Handa 2015-02-13 17:21:52 UTC
Confirmed with Plasma 5.
Comment 2 Alexander Lohnau 2020-10-30 08:05:17 UTC

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