Closed MengeCrowdSim closed 7 years ago
Initial investigation suggests the problem is in src/Menge/MengeCore/Runtime/os.cpp.
The absPath
method hangs when trying to create the absolute path for a file that does not exist. It invokes realpath
. The man page for realpath
suggests that it should exit with an error code: ENOENT (file does not exist), but this seems not to be the case. So, I may have to do something smarter.
Fixed by #18 and #15
Apparently, providing the scb file argument to the linux build causes the system to hang.
Example:
./menge -p ../examples/core/headon.xml -o test.scb