Use project directory and environment when spawning bash process.