title: Can I run a script in an Eclipse run configuration?
body: <p>My company has traditionally used a Linux command line development environment.  We use a script to manage the <code>PATH</code> and <code>LD_LIBRARY_PATH</code> environment variables when compiling and running.  This script is called by adding it to the beginning of a command, like this:</p>
  
  <pre><code>sbs make
  sbs ../bin/foo.exe
  </code></pre>
  
  <p>I am trying to get our code to run from Eclipse CDT, and move us forward a decade or so in development tools.  I can control what the make command is in a build configuration, but I haven't figured out how to control the executable command in a run configuration.  Is such a thing possible?  Or will we have to set the environment variables in the run configuration, instead of relying on the script to do so.  The intention of the script was to minimize the work when building for different versions of GTK or when building on different platforms (Linux, Solaris, etc...).</p>