[PATCH] Allow forced new processes for KUniqueApplication

Ingo Klöcker kloecker at kde.org
Sun Mar 23 13:54:51 GMT 2008


On Sunday 23 March 2008, Thiago Macieira wrote:
> Robert Knight wrote:
> >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.
>
> Please call it DontFork, since it would match the --nofork
> command-line option.

Or rather DoNotFork. ("dont" is no English word)</nitpick>


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080323/ddef26b5/attachment.sig>


More information about the kde-core-devel mailing list