[PATCH] Allow forced new processes for KUniqueApplication
thiago at kde.org
Sun Mar 23 07:13:59 GMT 2008
Robert Knight wrote:
>Konsole is a KUniqueApplication and uses only one process for all
>instances. This causes a problem where shells in a newly started
>Konsole do not inherit their environment from the parent terminal and
>debug output from the new instance does not appear in the parent
>What I would like to do is to force the creation of a new process when
>Konsole is started from the terminal but share a single process for
>instances created from a GUI (the start menu, ALT-F2 dialog etc.)
>Attached is a patch for KUniqueApplication which overloads
>KUniqueApplication::start() to take a set of flags to control how how
>the new instance is created, including forcing the creation of a new
>process if necessary.
Please call it DontFork, since it would match the --nofork command-line
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel