[tools] add process.cpp