[Qt-interest] QProcess's bug?

Andreas Pakulat apaku at gmx.de
Thu Jun 25 10:42:43 CEST 2009


On 25.06.09 15:58:51, 邵度 wrote:
> My program looks like the following:
> 
> int main(int argc, char* argv[])
> {
>   QCoreApplication app(argc, argv);
> 
>   if (runInDaemon)
>     becomeDaemonFromNowOn();  // By means of traditional unix fork()
> 
>   ClassUsesQProcess obj;
> 
>   return app.exec();
> }

This is not a proper example. This doesn't tell us:

- how becomeDaemonFromNowOn  is implemented
- how ClassUsesQProcess is created
- how the QProcess is being used.

You need to assemble a small runnable example for somebody to reproduce the
issue to help you.

Andreas

-- 
Give your very best today.  Heaven knows it's little enough.



More information about the Qt-interest-old mailing list