check框架,可用于linux和windows.