<?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 Instruct VTune to launch app in bash shell in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Instruct-VTune-to-launch-app-in-bash-shell/m-p/1022743#M12960</link>
    <description>&lt;P&gt;I am having trouble launching my application from VTune. We've got a number of bash shell scripts that need to run to set up the environment first. So, I'd like VTune to launch a new bash shell to run my application in. If I do a ps command in the launch application, I see that it is launching /bin/sh. Unfortunately, that is linked to dash on our system (https://wiki.ubuntu.com/DashAsBinSh). Is there a way to instruct VTune to use a new bash shell (perhaps a env variable)?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Ryan&lt;/P&gt;</description>
    <pubDate>Wed, 13 Aug 2014 23:21:33 GMT</pubDate>
    <dc:creator>Ryan_H_2</dc:creator>
    <dc:date>2014-08-13T23:21:33Z</dc:date>
    <item>
      <title>Instruct VTune to launch app in bash shell</title>
      <link>https://community.intel.com/t5/Analyzers/Instruct-VTune-to-launch-app-in-bash-shell/m-p/1022743#M12960</link>
      <description>&lt;P&gt;I am having trouble launching my application from VTune. We've got a number of bash shell scripts that need to run to set up the environment first. So, I'd like VTune to launch a new bash shell to run my application in. If I do a ps command in the launch application, I see that it is launching /bin/sh. Unfortunately, that is linked to dash on our system (https://wiki.ubuntu.com/DashAsBinSh). Is there a way to instruct VTune to use a new bash shell (perhaps a env variable)?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2014 23:21:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Instruct-VTune-to-launch-app-in-bash-shell/m-p/1022743#M12960</guid>
      <dc:creator>Ryan_H_2</dc:creator>
      <dc:date>2014-08-13T23:21:33Z</dc:date>
    </item>
    <item>
      <title>have you tried specifying</title>
      <link>https://community.intel.com/t5/Analyzers/Instruct-VTune-to-launch-app-in-bash-shell/m-p/1022744#M12961</link>
      <description>&lt;P&gt;have you tried specifying bash as the app to launch and your script as the command argument to bash?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Aug 2014 23:23:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Instruct-VTune-to-launch-app-in-bash-shell/m-p/1022744#M12961</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2014-08-13T23:23:43Z</dc:date>
    </item>
    <item>
      <title>Thanks for the response. Yes,</title>
      <link>https://community.intel.com/t5/Analyzers/Instruct-VTune-to-launch-app-in-bash-shell/m-p/1022745#M12962</link>
      <description>&lt;P&gt;Thanks for the response. Yes, I tried that. The resulting bash env is not the same as if I ran the script from a new bash shell command line. From what I gather, /bin/sh is started and a /bin/bash shell inherits its env (never running any bashrc files).&lt;/P&gt;

&lt;P&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2014 05:22:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Instruct-VTune-to-launch-app-in-bash-shell/m-p/1022745#M12962</guid>
      <dc:creator>Ryan_H_2</dc:creator>
      <dc:date>2014-08-14T05:22:50Z</dc:date>
    </item>
    <item>
      <title>Try adding this option to the</title>
      <link>https://community.intel.com/t5/Analyzers/Instruct-VTune-to-launch-app-in-bash-shell/m-p/1022746#M12963</link>
      <description>&lt;P&gt;Try adding this option to the command arguments and specifying your bashrc file.&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;EM&gt;The --rcfile file option will force Bash to read and execute commands from file instead of ~/.bashrc.&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 14 Aug 2014 17:45:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Instruct-VTune-to-launch-app-in-bash-shell/m-p/1022746#M12963</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2014-08-14T17:45:00Z</dc:date>
    </item>
  </channel>
</rss>

