Below is the explanation for the StartAndWait StartMethod property and the TargetPath. I think you are looking for just the default option which is Start for the StartMethod property.
StartAndWait – With this option, which only applies to the Windows adapter, starting the adapter causes Studio to launch the application identified in the Path property and then waits until the application in the TargetPath is launched. When the TargetPath application runs, Studio then hooks the TargetPath application.
Note: Studio does not hook the Path application, therefore you cannot interrogate or automate the Path application. If you choose this option, the Runtime user must have OpenSpan services installed. You install these services during the initial installation.
The TargetPath applies when the target application – the application you want to interrogate – is launched by one or more other applications. The target application is launched as the result of one or more other processes (applications) occurring first. In this case, the Path property defines the executable that starts the target application. The TargetPath identifies the executable that will be interrogated and automated by the project.
When you make entries in both the Path and TargetPath fields, set the StartMethod to StartAndWait. Note the application you enter in the Path property cannot be interrogated, nor can any other process that it starts. The only application you can interrogate is the application entered in the TargetPath.
I am also getting an error when trying to interrogate the CRM.exe application. It gives an OpenSpan stack trace. I just installed Pega Robotics Studio 8.0 from the PegaAcademy and have the following error when trying to interrogate the training application 'CRM.exe'.
Thank You so much for the suggestion. I was having issues with starting interrogation on both Windows and Web adapters .Have been struggling with issue for long. Disabled Antivirus and both started working right away.