diff --git a/lib/converter.cpp b/lib/converter.cpp index 1b83d29b..c38da886 100644 --- a/lib/converter.cpp +++ b/lib/converter.cpp @@ -63,7 +63,8 @@ namespace Converter { JSON::Value Converter::queryPath(std::string myPath){ std::vector cmd; cmd.reserve(3); - cmd.push_back((char*)"MistInfo"); + std::string mistPath = Util::getMyPath() + "MistInfo"; + cmd.push_back((char*)mistPath.c_str()); cmd.push_back(NULL); cmd.push_back(NULL); fprintf( stderr, "Querying %s\n", myPath.c_str());