<?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 Re: How to execute command line from ModelBuilder? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/how-to-execute-command-line-from-modelbuilder/m-p/39768#M1408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&amp;nbsp; I've actually figured it out, too.&amp;nbsp; But I didn't have to create a Python script.&amp;nbsp; The command line just launches from the script.&amp;nbsp; I also checked the box to always run the script in foreground; otherwise, it ties up ArcCatalog.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marilyn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 May 2011 11:31:46 GMT</pubDate>
    <dc:creator>MarilynGambone</dc:creator>
    <dc:date>2011-05-02T11:31:46Z</dc:date>
    <item>
      <title>How to execute command line from ModelBuilder?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-execute-command-line-from-modelbuilder/m-p/39764#M1404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to execute a command line tool from ModelBuilder.&amp;nbsp; How do I do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 13:58:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-execute-command-line-from-modelbuilder/m-p/39764#M1404</guid>
      <dc:creator>MarilynGambone</dc:creator>
      <dc:date>2011-04-25T13:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute command line from ModelBuilder?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-execute-command-line-from-modelbuilder/m-p/39765#M1405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If it exists within arctoolbox, then you use it.&amp;nbsp; what exactly is it that you want to do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 14:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-execute-command-line-from-modelbuilder/m-p/39765#M1405</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2011-04-25T14:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute command line from ModelBuilder?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-execute-command-line-from-modelbuilder/m-p/39766#M1406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a tool, wget (&lt;/SPAN&gt;&lt;A href="http://water.weather.gov/precip/download.php"&gt;http://water.weather.gov/precip/download.php&lt;/A&gt;&lt;SPAN&gt;) that I want to use.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This tool downloads multiple files from the website.&amp;nbsp; I want to chain this tool with other tools I'm using in Modelbuilder:&amp;nbsp; So the task of downloading the files to conversion to rasters is automated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 14:54:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-execute-command-line-from-modelbuilder/m-p/39766#M1406</guid>
      <dc:creator>MarilynGambone</dc:creator>
      <dc:date>2011-04-25T14:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute command line from ModelBuilder?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-execute-command-line-from-modelbuilder/m-p/39767#M1407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. Create a new toolbox and add it to the ArcToolbox tree. Right click on the new toolbox and select Add-&amp;gt;Script... Add the path to wget (or a batch file that runs wget) to the "Script File:" text box on the 2nd page of the dialog. Add any arguments on the third page (you can set defaults so you don't always have to type stuff in) and click Finish.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Write a Python script that calls wget using the subprocess.Popen() class (or use urllib to download your files directly). This way you can return an output value to ArcGIS.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 02:18:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-execute-command-line-from-modelbuilder/m-p/39767#M1407</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2011-05-02T02:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute command line from ModelBuilder?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-execute-command-line-from-modelbuilder/m-p/39768#M1408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&amp;nbsp; I've actually figured it out, too.&amp;nbsp; But I didn't have to create a Python script.&amp;nbsp; The command line just launches from the script.&amp;nbsp; I also checked the box to always run the script in foreground; otherwise, it ties up ArcCatalog.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marilyn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 11:31:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-execute-command-line-from-modelbuilder/m-p/39768#M1408</guid>
      <dc:creator>MarilynGambone</dc:creator>
      <dc:date>2011-05-02T11:31:46Z</dc:date>
    </item>
  </channel>
</rss>

