Fixed PromptCommand to work on OS-X... subprocess has lousy error messages.