Implement $(...) expansion for server output.