Running two different codes in bashrc

I want to run two codes, one is in python and other is in c compiled bat file. Which are located in 2 different files. I tried running them using the format
Command 1 &
Command 2 &
But when I do this the c code runs in background but the python code doesn’t let me use the terminal it prints the data even after ctrl+c.
Does anyone know a way around it?

1 Like

I didn’t get your query exactly. You are trying to run a python script and a bat file simultaneously using & operator in bash terminal. Correct me if I am wrong? Can you post screenshot of your terminal window, with your commands.