1 2 3 4 5 6
#include <library/cpp/resource/resource.h> extern "C" int IsYaIdeVenv() { TString dummy; return NResource::FindExact("YA_IDE_VENV", &dummy); }