Re: [Interest] Process started with QProcess::startDetached is still a child, and is killed when parent quits

2014-03-06 Thread Wiebe Cazemier
- Original Message - From: alexander golks a...@golks.de To: interest@qt-project.org Sent: Thursday, 6 March, 2014 8:49:08 AM Subject: Re: [Interest] Process started with QProcess::startDetached is still a child, and is killed when parent quits Am Wed, 5 Mar 2014 21:40:11 +0100

Re: [Interest] Process started with QProcess::startDetached is still a child, and is killed when parent quits

2014-03-06 Thread Bo Thorsen
Hi Wiebe, Den 05-03-2014 21:40, Wiebe Cazemier skrev: I'm trying to get my auto-updater to work for my Qt 5.1 project (running on Windows 7 32 bit, but Windows XP has the same problem). It downloads an installer, starts it, and quits itself. The problem is that when the application quits, the

Re: [Interest] Process started with QProcess::startDetached is still a child, and is killed when parent quits

2014-03-06 Thread Wiebe Cazemier
- Original Message - From: Bo Thorsen bthor...@ics.com To: interest@qt-project.org Sent: Thursday, 6 March, 2014 12:56:00 PM Subject: Re: [Interest] Process started with QProcess::startDetached is still a child, and is killed when parent quits For this reason, I don't use

Re: [Interest] Process started with QProcess::startDetached is still a child, and is killed when parent quits

2014-03-06 Thread Thiago Macieira
Em qui 06 mar 2014, às 16:50:22, Wiebe Cazemier escreveu: However, it did happen several times that when the installer started, the files couldn't be overwritten because the program was still hanging without a window. I haven't been able to explain that yet. Perhaps just a race condition. --

Re: [Interest] Process started with QProcess::startDetached is still a child, and is killed when parent quits

2014-03-06 Thread Constantin Makshin
IMHO it makes [some] sense for the debugger to kill all processes created by the one being debugged — that gives some guarantee that repeated debugging sessions won't cause uncontrollable growth of number of running processes, the debugged application won't meet locks or other resource sharing

[Interest] Process started with QProcess::startDetached is still a child, and is killed when parent quits

2014-03-05 Thread Wiebe Cazemier
I'm trying to get my auto-updater to work for my Qt 5.1 project (running on Windows 7 32 bit, but Windows XP has the same problem). It downloads an installer, starts it, and quits itself. The problem is that when the application quits, the installer is killed along with it, regardless of the

Re: [Interest] Process started with QProcess::startDetached is still a child, and is killed when parent quits

2014-03-05 Thread alexander golks
Am Wed, 5 Mar 2014 21:40:11 +0100 (CET) schrieb Wiebe Cazemier wi...@halfgaar.net: So, how do I really start a detached process? Is there a similar way to how Linux parents orphaned processes to init? i have a process to restart a service at a given time, and i do it this way: QProcess*