title: Use Foreman to Start Rack App Located in Different Directory
body: <p>I have a Procfile setup that is running a number of processes successfully:</p>
  
  <pre><code># /Procfile
  redis: bundle exec redis-server
  sidekiq: bundle exec sidekiq -v -C ./config.yml
  forward: forward 4567 mock-api
  </code></pre>
  
  <p>I need to add one more process - a Sinatra app that lives in a different directory on my machine. If I cd to the directory, I can start it from the Terminal with:</p>
  
  <pre><code>$ rackup -p 4567
  </code></pre>
  
  <p>And I can start it from a different directory using the Terminal with:</p>
  
  <pre><code>$ sh -c 'cd /Path/to/project/ &amp;&amp; exec rackup -p 4567'
  </code></pre>
  
  <p>But how should I do this using foreman. I have tried adding the following, but it fails silently:</p>
  
  <pre><code>mock-api: sh -c 'cd /Path/to/project/ &amp;&amp; exec rackup -p 4567'
  </code></pre>
  
  <p>Is this even possible? And if so, how?</p>