title: Execute relative path executable in bash script
body: <p>I googled for this senario, but it is flooded with results on how to turn a relative path into an absolute one (which would work, but I feel there is an easier way)</p>
  
  <p>I have the following scenario:</p>
  
  <pre><code>$ls ../
  executable1 dir1
  $
  $ls
  shellscript1
  $
  $cat ./shellscript1
  #!/bin/bash
  #Run executable1, which I know is one dir up towards root
  ../executable1 arg1 arg2 arg3 etc
  exit 0
  #----End Of Script----
  $
  $./shellscript1
  ./shellscript1: line 3: ../executable1: No such file or directory
  </code></pre>
  
  <p>Essentially I need to call an executable with a relative path from a bash script. It works fine in a bash shell, but in a script it fails to resolve the path. I have verified the working directory is what I expect it to be (i.g., dir1). Is there some <code>call</code> or <code>exec</code> like command I need in front of it? I tried <code>sh ../executable1</code> but of course bash baffs at the executable.</p>