Execute shell command or script before execution run/debug in pycharm

Hey folks,

Id like to run a many different little things before i write small scripts like, copying a file from file.old that gets cleaned up in the process, i know i can just not delete the file but there are some times when i want to test the loop with file deletion but dont want to manually execute a shell script to copy the file.old to file.new

I've been looking for plug-ins and even another post that shows that they have an option to execute shellscript?!

https://youtrack.jetbrains.com/issue/IDEA-235080/Running-a-shell-script-before-running-a-run-debug-configuration-requires-creating-the-Shell-Script-configuration

Sorry, i'm not familiar enough yet with pycharm

Please sign in to leave a comment.