[Qt-interest] QProcess's bug?
Andreas Pakulat
apaku at gmx.de
Thu Jun 25 08:53:46 CEST 2009
On 25.06.09 09:45:32, 邵度 wrote:
> Hi,
>
> My program uses QProcess to periodically execute some shell commands for
> convenient.
> When I normally run my program, everything seems okay.
> While if I run my program in daemon, QProcess always tells me it's state is
> QProcess::Running initially.
What do you mean with "daemon" here? Which program are you talking about -
the one that uses QProcess or the one that is being started inside the
QProcess?
> Am I something wrong with QProcess?
> Should I use fork() and exec() family to achieve my goal instead of
> QProcess?
Without some sample code nobody can tell you the answer.
Andreas
--
You will be the last person to buy a Chrysler.
More information about the Qt-interest-old
mailing list