always chdir before spawning