<?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 How to get the output from start proccess Utility in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-the-output-from-start-proccess-Utility/m-p/90061#M40352</link>
    <description>Hi ,

&amp;nbsp;

I am running my python program using Utility-Environment, but i want to store the output of that program in a datatime.

Could you please assist with the steps to do that, i have tried adding an output variable in start process utility but it didnt worked.

&amp;nbsp;

Regards,

Navatha</description>
    <pubDate>Mon, 21 May 2018 15:17:00 GMT</pubDate>
    <dc:creator>NavathaMallappa</dc:creator>
    <dc:date>2018-05-21T15:17:00Z</dc:date>
    <item>
      <title>How to get the output from start proccess Utility</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-the-output-from-start-proccess-Utility/m-p/90061#M40352</link>
      <description>Hi ,

&amp;nbsp;

I am running my python program using Utility-Environment, but i want to store the output of that program in a datatime.

Could you please assist with the steps to do that, i have tried adding an output variable in start process utility but it didnt worked.

&amp;nbsp;

Regards,

Navatha</description>
      <pubDate>Mon, 21 May 2018 15:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-get-the-output-from-start-proccess-Utility/m-p/90061#M40352</guid>
      <dc:creator>NavathaMallappa</dc:creator>
      <dc:date>2018-05-21T15:17:00Z</dc:date>
    </item>
    <item>
      <title>You will have to create a…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-the-output-from-start-proccess-Utility/m-p/90062#M40353</link>
      <description>You will have to create a separate Business Object for the IDLE that you are using to run the python script.
Another option is that you could modify your python script to generate a txt file with the output, and then use Blue Prism to read that file.</description>
      <pubDate>Mon, 21 May 2018 18:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-get-the-output-from-start-proccess-Utility/m-p/90062#M40353</guid>
      <dc:creator>MelissaSuarez_G</dc:creator>
      <dc:date>2018-05-21T18:52:00Z</dc:date>
    </item>
    <item>
      <title>Try pasting this into a code…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-get-the-output-from-start-proccess-Utility/m-p/90063#M40354</link>
      <description>Try pasting&amp;nbsp;this into a code stage. The inputs are in bold.
Dim p As System.Diagnostics.Process
Dim s As System.Diagnostics.ProcessStartInfo
Dim r As System.IO.StreamReader
If Arguments"""" Then
&amp;nbsp; s = New System.Diagnostics.ProcessStartInfo(Application, Arguments)
Else
&amp;nbsp; s = New System.Diagnostics.ProcessStartInfo(Application)
End If
If Working_Folder"""" Then
&amp;nbsp;s.WorkingDirectory = Working_Folder
End If
s.UseShellExecute = False
s.RedirectStandardOutput = True
s.createNoWindow = True
p = New System.Diagnostics.Process()
p.StartInfo = s
p.Start()
r = p.StandardOutput
If Time_Out&amp;gt;0 AndAlso p.WaitForExit(1000*Time_Out)=False Then
&amp;nbsp;Throw New System.Exception(""Failed waiting for application to end"")
End If
Output = r.ReadToEnd()</description>
      <pubDate>Tue, 22 May 2018 12:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-get-the-output-from-start-proccess-Utility/m-p/90063#M40354</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-05-22T12:26:00Z</dc:date>
    </item>
  </channel>
</rss>

