<?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: Is it necessary to put `shebang` on custom scripts? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Is-it-necessary-to-put-shebang-on-custom-scripts/m-p/607420#M10722</link>
    <description>&lt;P&gt;The correct form of shebang for python3 is&lt;/P&gt;&lt;PRE&gt;#!/usr/bin/env python3&lt;/PRE&gt;&lt;P&gt;But that's not the main point here.&lt;/P&gt;&lt;P&gt;Splunk should spawn its own python instance for python script regardless of the shebang (and shebang allows for easy testing outside of splunk environment)&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 20:18:57 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2022-07-28T20:18:57Z</dc:date>
    <item>
      <title>Is it necessary to put `shebang` on custom scripts?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Is-it-necessary-to-put-shebang-on-custom-scripts/m-p/607417#M10721</link>
      <description>&lt;P&gt;Is it necessary to put `shebang` on custom Python script that will be executed by `splunk`? The reason why I ask is because `shebang` is `#!/usr/local/bin/python` but we know that Spunk uses the one $SPLUNK_HOME/bin/python3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 19:25:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Is-it-necessary-to-put-shebang-on-custom-scripts/m-p/607417#M10721</guid>
      <dc:creator>morethanyell</dc:creator>
      <dc:date>2022-07-28T19:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is it necessary to put `shebang` on custom scripts?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Is-it-necessary-to-put-shebang-on-custom-scripts/m-p/607420#M10722</link>
      <description>&lt;P&gt;The correct form of shebang for python3 is&lt;/P&gt;&lt;PRE&gt;#!/usr/bin/env python3&lt;/PRE&gt;&lt;P&gt;But that's not the main point here.&lt;/P&gt;&lt;P&gt;Splunk should spawn its own python instance for python script regardless of the shebang (and shebang allows for easy testing outside of splunk environment)&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 20:18:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Is-it-necessary-to-put-shebang-on-custom-scripts/m-p/607420#M10722</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-07-28T20:18:57Z</dc:date>
    </item>
  </channel>
</rss>

