<?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: Can background processing be enabled/disabled in arcpy? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191049#M14659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can provide a specific example, I might be able to offer something more specific in terms of feedback.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jul 2017 17:29:37 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2017-07-24T17:29:37Z</dc:date>
    <item>
      <title>Can background processing be enabled/disabled in arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191041#M14651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pretty much what the post title says. I have some python scripts which require background processing to be enabled, other disabled. I know this can be set in tool properties, but these are just stand alone scripts. Haven't been able to find any info one way or the other. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 18:18:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191041#M14651</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2016-09-07T18:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can background processing be enabled/disabled in arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191042#M14652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the only reference is covered here, and it is to ensure that 64 bit is being used&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/executing-tools/64bit-background.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/executing-tools/64bit-background.htm"&gt;Background Geoprocessing (64-bit)—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is no specific arcpy function that I can see&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 18:38:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191042#M14652</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-07T18:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can background processing be enabled/disabled in arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191043#M14653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can call 64bit arcpy from a standalone script, the trick is to set PYTHONPATH to the 64bit site-packages directory then start a subprocess that inherits the environment variable and runs 64bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar to the code in this sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcgis.com/home/item.html?id=b3c7c6273ef54e91aa57a073aa873eca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 19:21:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191043#M14653</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2016-09-07T19:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can background processing be enabled/disabled in arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191044#M14654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to be able do disable background processing from a standalone python script, so I can run resource hungry old (9.3 era) scripts which still have some VB in them. Of course I should revise scripts (there are plenty...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Jul 2017 21:38:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191044#M14654</guid>
      <dc:creator>JanHeckman</dc:creator>
      <dc:date>2017-07-22T21:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can background processing be enabled/disabled in arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191045#M14655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To me, "standalone python script" implies running the script outside of ArcGIS Desktop, e.g., calling a *.py file directly from a Python interpreter.&amp;nbsp; Is that what you are doing, or are you wanting to run it from within ArcGIS Desktop, like from the interactive Python window?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 02:56:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191045#M14655</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-07-23T02:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can background processing be enabled/disabled in arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191046#M14656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joshua,&lt;/P&gt;&lt;P&gt;Running scripts from the commandline is what I sometimes do, so I can run several in parallel.&lt;/P&gt;&lt;P&gt;I must say these are old habits and I may have to change them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 11:24:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191046#M14656</guid>
      <dc:creator>JanHeckman</dc:creator>
      <dc:date>2017-07-24T11:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can background processing be enabled/disabled in arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191047#M14657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is anything wrong or dated with running scripts from the command line, I do it quite a bit, and I think lots of other folks do as well.&amp;nbsp; Sometimes I find integrating scripts into the ArcGIS ecosystem (Python toolboxes, etc...) not worth the effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow, if you are running scripts from the command prompt or directly from an interpreter, i.e, not through ArcGIS client, then background processing doesn't really exist.&amp;nbsp; If you have 64-bit Background Geoprocessing installed and run the script using the 64-bit Python interpreter, then the script uses 64 bit tools.&amp;nbsp; If you have 64-bit Background Geoprocessing installed and run the script using the 32-bit interpreter, the script uses 32-bit tools.&amp;nbsp; The Background Processing setting under Geoprocessing options applies to running scripts within the ArcGIS client (ArcMap, ArcCatalog, etc...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 14:41:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191047#M14657</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-07-24T14:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can background processing be enabled/disabled in arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191048#M14658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, I have the same opinion about running scripts from commandline and I understand that the setting is for the client. However, I sometimes get an abnormal program termination (C++ runtime) when using Pyton 32 bit, so I then explicitly use C:\python26\arcgisx6410.5\python.exe. Which will give me an error when it finds anything smelling like VB.&lt;/P&gt;&lt;P&gt;I found arcpy.env.parallelProcessingFactor='0' (which I included in a script). I do not know if it helps, since I replaced the offending tool calls by cursor-methods.&lt;/P&gt;&lt;P&gt;I will certainly give it another try - when back from holiday.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 14:53:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191048#M14658</guid>
      <dc:creator>JanHeckman</dc:creator>
      <dc:date>2017-07-24T14:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can background processing be enabled/disabled in arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191049#M14659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can provide a specific example, I might be able to offer something more specific in terms of feedback.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 17:29:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-background-processing-be-enabled-disabled-in/m-p/191049#M14659</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-07-24T17:29:37Z</dc:date>
    </item>
  </channel>
</rss>

