<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>19 May 2015 23:39:05 Z</lastBuildDate><pubDate>19 May 2015 17:43:17 Z</pubDate><description>Hi,&#13;
&#13;
I want to use ExeRun on linux but redirect the result of the command to file normally using &gt; myFile.txt.&#13;
&#13;
Now if I run this from the linux command prompt it works fine:&#13;
&#13;
/usr/bin/xe vm-snapshot uuid=c1b56dfa-c614-4a19-5a86-c257b81d6fc9 new-name-label=20150519162255170 &gt; text.txt&#13;
&#13;
no errors&#13;
&#13;
[root@xen5 ~]# /usr/bin/xe vm-snapshot uuid=c1b56dfa-c614-4a19-5a86-c257b81d6fc9 new-name-label=20150519162255170 &gt; text.txt&#13;
[root@xen5 ~]#&#13;
&#13;
text.txt has uuid&#13;
&#13;
[root@xen5 ~]# cat text.txt&#13;
d5d519d3-71c4-b634-29d1-87985a76b578&#13;
&#13;
From RunExe&#13;
&#13;
myres = ExeRun("/usr/bin/xe vm-snapshot uuid=" + Replace(CommandLine(2)," ","",IgnoreCase) + " new-name-label=" + Timestamp+ " &gt; text.txt")&#13;
&#13;
[root@xen5 ~]#  ./vm-control backup c1b56dfa-c614-4a19-5a86-c257b81d6fc9&#13;
Error: Unknown field '&gt;'&#13;
&#13;
Anyway to stop ExeRun complaining about the redirect to file "&gt; text.txt"&#13;
&#13;
Thanks&#13;
&#13;
Tony</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52185-exerun-balks-redirect-file-linux/read.awp</link><title>ExeRun balks at redirect to file on linux</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>tony.turner</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52185-exerun-balks-redirect-file-linux-52190/read.awp</comments><pubDate>19 May 2015 23:39:05 Z</pubDate><description>Do we have anything in Windev that can read the console after calling ExeRun on linux&#13;
&#13;
When I use ExeRun the program called re…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52185-exerun-balks-redirect-file-linux-52190/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52185-exerun-balks-redirect-file-linux-52190/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52185-exerun-balks-redirect-file-linux/read.awp">ExeRun balks at redirect to file on linux</source><title>Re: ExeRun balks at redirect to file on linux</title></item></channel></rss>
