[PATCH] Allow forced new processes for KUniqueApplication
Robert Knight
robertknight at gmail.com
Sun Mar 23 05:07:45 GMT 2008
Hello,
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
terminal.
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.
Regards,
Robert.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kuniqueapplication_allow_force_new_process.patch
Type: text/x-patch
Size: 2938 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080323/62c12119/attachment.bin>
More information about the kde-core-devel
mailing list