moved chdir from AbstractCommand::__construct() to AbstractCommand::runCommand(). Should help you when handling multiple commands at once