I can't because I want the process continues to run even if my GUI crashes. -Yifei
On Mon, Jul 1, 2013 at 4:50 PM, Scott Aron Bloom <scott.bl...@onshorecs.com>wrote: > Just use the non-static QProcess flow…**** > > ** ** > > ** ** > > *From:* interest-bounces+scott.bloom=onshorecs....@qt-project.org [mailto: > interest-bounces+scott.bloom=onshorecs....@qt-project.org] *On Behalf Of > *Yifei > Li > *Sent:* Monday, July 01, 2013 1:31 PM > *To:* interest@qt-project.org > *Subject:* [Interest] Redirect stdout to a file**** > > ** ** > > Hi folks,**** > > ** ** > > I know this can be done using QProcess::setStandardOutputFile.**** > > ** ** > > However, I need to start my process using the static function > startDetached, and still want to be able to redirect its stdout/stderr to > another file.**** > > ** ** > > Any suggestions?**** > > ** ** > > Thanks,**** > > ** ** > > Yifei**** > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest