I am trying to get the current working directory of the C++ program using Poco::Path::current(). It is working fine and gives the correct path when I run the program as norm