Using a Temporary Project

-pt <projectname>

This option closes the current project, if any, and opens the project given in projectname. Unlike the -p option, the next time you run Source Insight, the old current project is opened. This is useful if you want to put a Source Insight command in a batch file, but don’t want the current project to be changed.

Example:

insight3 -pt mail