<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QProcess::setStandardOutputFile]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am using QProcess to start an external program and collect the output on the standard output.</p>
<p dir="auto">At a later stage I want to store the output of this program into a file and call setStandardOutputFile() for this purpose.</p>
<p dir="auto">But then I would like again to read the standard output of the process. How can I cancel the call to setStandardOutputFile() and suppress the redirection of the standard output into the file?</p>
<p dir="auto">BR,</p>
<p dir="auto">Vincent</p>
]]></description><link>https://forum.qt.io/topic/51885/qprocess-setstandardoutputfile</link><generator>RSS for Node</generator><lastBuildDate>Mon, 03 Aug 2026 00:41:54 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/51885.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Mar 2015 14:31:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QProcess::setStandardOutputFile on Tue, 03 Mar 2015 17:09:17 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
the solution was to call  setStandardOutputFile(""); to remove the stdout redirection.</p>
<p dir="auto">BR<br />
Vincent</p>
]]></description><link>https://forum.qt.io/post/263856</link><guid isPermaLink="true">https://forum.qt.io/post/263856</guid><dc:creator><![CDATA[Vince42]]></dc:creator><pubDate>Tue, 03 Mar 2015 17:09:17 GMT</pubDate></item><item><title><![CDATA[Reply to QProcess::setStandardOutputFile on Tue, 03 Mar 2015 15:06:52 GMT]]></title><description><![CDATA[<p dir="auto">Try calling setStandardOutputFile(stdout, ...)<br />
It may work i have not tried though.</p>
]]></description><link>https://forum.qt.io/post/263837</link><guid isPermaLink="true">https://forum.qt.io/post/263837</guid><dc:creator><![CDATA[Pradeep P N]]></dc:creator><pubDate>Tue, 03 Mar 2015 15:06:52 GMT</pubDate></item></channel></rss>