I want to create a new Run/Debug Configuration which executes a .bat
file that accepts a Python script as a parameter.
The program I want to execute is MonkeyRunner
(a tool part of Android SDK) which is located in the C:\Users\talha\AppData\Local\Android\Sdk\tools\bin
folder. And my PyCharm project is located in C:\Users\talha\Documents\PyCharmProjects
folder.
There's a free plugin on the JetBrains marketplace that provides:
Windows Batch Scripts support for IntelliJ IDEA. Supports syntax highlighting, run configurations that can run any command, also empty configurations. Empty run configurations are useful when you want to execute an external tool through a run configuration.