How to run to scripts at the terminal using && as in linux?

The scripts take a long time so I want to just execute them both at once (in series) but I get:

The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.

How can I do it?

Comment actions Permalink

Hi, are you talking about Python scripts, Shell scripts, or something else? 

If you're talking about Python scripts, please note that you can enable "Allow parallel run" in the run/debug configuration.

Comment actions Permalink


Shell scripts, I want to run them like bash.

$ python && python

So it will run, when I ends it will run

Comment actions Permalink

Well, you can write a shell script and use the respective configuration to run it.

Alternatively, you can use "before launch" option of the run/debug configuration to run another python configuration before running the current one.

Comment actions Permalink

I managed to do it using ; 

python ; python 



Please sign in to leave a comment.