title: Force node.js to use bin/bash instead of sh
body: <p>I'm trying to execute a basic bash script from node using the <code>exec()</code> function.  The bash script is as follows:</p>
  
  <pre><code>#!/bin/bash
  ffmpeg -f concat -i &lt;(for f in $1/*.mov ; do echo "file '$f'"; done) -c copy $1/output.mov
  </code></pre>
  
  <p>The script works fine running it from the command line but when running from within node I get a syntax error:  <code>line 2: syntax error near unexpected token</code>('`</p>
  
  <p>It appears when running this command node it attempting to use <code>sh</code> instead of <code>bash</code>.  Can anyone verify this is true and give a possible workaround or solution? Thanks ahead of time!</p>