<?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 Execute CMD from a geoprocessing service to execute second scrypt. in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/execute-cmd-from-a-geoprocessing-service-to/m-p/344529#M27020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hello, I have seen this post and I have a couple of question myself and was wondering if you could help me please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I have created 2 scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;first one: General_EjecutarReporte_Consola.py is the script that is published a geoprocessing service and call the CMD to execute the second python script that has the EXPORTReport called: General_ReporteCriteriosValoracion.py.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I have published my first script and I have run in in the REST and it seems to work, but it does not creates my report in the destinated file. see picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I am using Arcgid 10.2.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After printing messages when trying to run the second script. I get Error 1. thats it. It completly fails in opening the CMD to execute the second script. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Oct 2014 15:26:36 GMT</pubDate>
    <dc:creator>DanielaPalacios</dc:creator>
    <dc:date>2014-10-02T15:26:36Z</dc:date>
    <item>
      <title>Execute CMD from a geoprocessing service to execute second scrypt.</title>
      <link>https://community.esri.com/t5/python-questions/execute-cmd-from-a-geoprocessing-service-to/m-p/344529#M27020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hello, I have seen this post and I have a couple of question myself and was wondering if you could help me please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I have created 2 scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;first one: General_EjecutarReporte_Consola.py is the script that is published a geoprocessing service and call the CMD to execute the second python script that has the EXPORTReport called: General_ReporteCriteriosValoracion.py.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I have published my first script and I have run in in the REST and it seems to work, but it does not creates my report in the destinated file. see picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I am using Arcgid 10.2.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After printing messages when trying to run the second script. I get Error 1. thats it. It completly fails in opening the CMD to execute the second script. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 15:26:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/execute-cmd-from-a-geoprocessing-service-to/m-p/344529#M27020</guid>
      <dc:creator>DanielaPalacios</dc:creator>
      <dc:date>2014-10-02T15:26:36Z</dc:date>
    </item>
  </channel>
</rss>

