How To Write Bash Script On Pycharm . The subprocess has a method called call. For example, you can run pycharm.app with the following command: python How can I debug a shell script file containing an executable from stackoverflow.com Here are some examples of different shells: We’ll be using the nano text editor, but you can also write your scripts in another terminal or gui based text editor. When this is done, i can run linux.