- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)?
Ryan
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
have you tried specifying bash as the app to launch and your script as the command argument to bash?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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).
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try adding this option to the command arguments and specifying your bashrc file.
- The --rcfile file option will force Bash to read and execute commands from file instead of ~/.bashrc.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page