[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] QProcess terminates if a daemon is executed
From:       Detlev Offenbach <detlev () die-offenbachs ! de>
Date:       2008-10-26 14:22:08
Message-ID: 200810261522.08734.detlev () die-offenbachs ! de
[Download RAW message or body]

On Sonntag, 26. Oktober 2008, Fatih Arslan wrote:
> Hi,
>
> I'm developing a new tray-application which will be used for the
> Web-service "Dropbox". They have a daemon who is responsible for the
> syncing of files.
> This daemon is located in ~/.dropbox-dist/dropboxd. Now if i start
> this process like this:
>
> self.process = QProcess()
> self.dropBoxDaemon = os.path.join(os.path.expanduser("~"),
> ".dropbox-dist/dropboxd")
> self.process.start(self.dropBoxDaemon)

Have you tried QProcess.startDetached(...)?

>
> My app terminates and i get the error "Command terminated". Where am i
> doing false ? I think because it's a daemon it causes it to terminate.
> I've searched for examples how to start a "daemon" process, but
> without any results.
>
> Regards



-- 
Detlev Offenbach
detlev@die-offenbachs.de
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic