[Kde-imaging] [Bug 93666] k3b invoked with --nofork cause to delete the temporary files to early

Achim Bohnet ach at mpe.mpg.de
Tue Nov 23 11:37:39 CET 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=93666        




------- Additional Comments From ach mpe mpg de  2004-11-23 11:37 -------
On Monday 22 November 2004 18:31, David Faure wrote:
[...]
> OK - then digikam probably uses tempfile=true in KRun( foo, bool tempfile ).

I had a quick look at keg-libs-1 kipi-plugins/cdarchiving/cdarchiving.cpp.
No KRun but KProcess:

    m_Proc = new KProcess();

    *m_Proc << m_K3bBinPathName;;
    *m_Proc << m_tmpFolder + "/KIPICDArchiving.xml";

    QString K3bCommandLine = m_K3bBinPathName + " " + m_tmpFolder + "/KIPICDArchiving.xml";
    kdDebug(51000) << "K3b is started : " << K3bCommandLine.ascii() << endl;

    connect(m_Proc, SIGNAL(processExited(KProcess *)),
            this, SLOT(slotK3bDone(KProcess*)));

    if ( !m_Proc->start(KProcess::NotifyOnExit, KProcess::All ) )

Because kipi-plugins are used by apps that try to be kompatible to
3.1 and later it would be nice to find a a solution that does not
only work with kde > 3.3 and/or k3b from cvs ;).

Achim

> _______________________________________________
> Kde-imaging mailing list
> Kde-imaging kde org
> https://mail.kde.org/mailman/listinfo/kde-imaging
> 
> 
>


More information about the Kde-imaging mailing list