<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic My version:

Process process… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-run-cmd-and-get-the-result-from-CMD/m-p/93996#M43405</link>
    <description>My version:

Process process = new Process();
process.StartInfo.FileName = ""cmd.exe"";
process.StartInfo.Arguments = ""/c ""+cmd;&amp;nbsp;
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;
process.StartInfo.StandardOutputEncoding = Encoding.GetEncoding(866); // Codepage:&amp;nbsp;866 - Russian
process.StartInfo.StandardErrorEncoding = Encoding.GetEncoding(866);&amp;nbsp;// Codepage
process.Start();
process.WaitForExit();
stdout = process.StandardOutput.ReadToEnd();
stderr = process.StandardError.ReadToEnd();</description>
    <pubDate>Fri, 09 Nov 2018 12:49:00 GMT</pubDate>
    <dc:creator>AndreyKudinov</dc:creator>
    <dc:date>2018-11-09T12:49:00Z</dc:date>
    <item>
      <title>How to run cmd and get the result from CMD ?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-run-cmd-and-get-the-result-from-CMD/m-p/93994#M43403</link>
      <description>I need to design a VBO, the step is&amp;nbsp;

1, run a command , such as

tesseract.exe --tessdata-dir .\tessdata &amp;nbsp;C:\Users\seiya\Desktop\random.jpg &amp;nbsp;- -l eng --psm 8

&amp;nbsp;

then it will return a string , refer to the attachment.

&amp;nbsp;

2, then I need to get the 'returning string'

&amp;nbsp;

can anyone help me ? thanks</description>
      <pubDate>Thu, 08 Nov 2018 09:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-run-cmd-and-get-the-result-from-CMD/m-p/93994#M43403</guid>
      <dc:creator>ZelinShen</dc:creator>
      <dc:date>2018-11-08T09:34:00Z</dc:date>
    </item>
    <item>
      <title>Try pasting the contents of…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-run-cmd-and-get-the-result-from-CMD/m-p/93995#M43404</link>
      <description>Try pasting the contents of the attached file into an object.</description>
      <pubDate>Thu, 08 Nov 2018 17:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-run-cmd-and-get-the-result-from-CMD/m-p/93995#M43404</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-11-08T17:03:00Z</dc:date>
    </item>
    <item>
      <title>My version:

Process process…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-run-cmd-and-get-the-result-from-CMD/m-p/93996#M43405</link>
      <description>My version:

Process process = new Process();
process.StartInfo.FileName = ""cmd.exe"";
process.StartInfo.Arguments = ""/c ""+cmd;&amp;nbsp;
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;
process.StartInfo.StandardOutputEncoding = Encoding.GetEncoding(866); // Codepage:&amp;nbsp;866 - Russian
process.StartInfo.StandardErrorEncoding = Encoding.GetEncoding(866);&amp;nbsp;// Codepage
process.Start();
process.WaitForExit();
stdout = process.StandardOutput.ReadToEnd();
stderr = process.StandardError.ReadToEnd();</description>
      <pubDate>Fri, 09 Nov 2018 12:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-run-cmd-and-get-the-result-from-CMD/m-p/93996#M43405</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2018-11-09T12:49:00Z</dc:date>
    </item>
  </channel>
</rss>

