I have Sumatra PDF set up for use with TeXstudio both on my Windows computer and my portable drive.
I have my Set inverse search command-line set to “C:\Program Files (x86)\TeXstudio\texstudio.exe” “%f” -line %l on my computer.
I have Set inverse search command-line set to “E:\texstudio-2.12.6\texstudio.exe” “%f” -line %l on my portable drive. I change the drive letter manually on the thumb drive when needed.
When I use the inverse search in Windows, I go back to the correct line without reopening TeXstudio.
When I use the inverse search on my portable drive, TeXstudio reopens and then the program go back to the correct line.
How can I stop Texstudio from reopening on my portable drive?