Unless you use a command-line type of program, the “normal” WINDOWS program - 
by policy - does not open “stdout” and “stderr”, as there is nothing to write 
the up-coming traffic to. So you will never have a chance to connect to them, 
as there is nothing to connect to, even if you program an individual solution 
of startDetached on your own.
 
- Michael.
 
From: interest-bounces+sue=nf.mpg...@qt-project.org 
[mailto:interest-bounces+sue=nf.mpg...@qt-project.org] On Behalf Of Yifei Li
Sent: Tuesday, July 02, 2013 4:31 AM
To: Ing. Rayner Pupo Gomez
Cc: interest@qt-project.org
Subject: Re: [Interest] Redirect stdout to a file
 
Thank you. It's good to know this trick. But I need a cross-platform solution. 
- Yifei
 
On Mon, Jul 1, 2013 at 7:07 PM, Ing. Rayner Pupo Gomez <rpgo...@uci.cu> wrote:
You can try on Linux with "expect", creating a config file for expect that 
contains a command like "command >> output.txt" then you can start the expect 
program detached.

_______________________________________________
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

Reply via email to