🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to code such that the program does not wait for execution of a command?

Hi. I am trying a code:

      exec python_path python_file.py;

      puts 1;

So the problem is that 1 is not printed till the execution of the python file is completed. I want the code to proceed even if the python file is still running.

Does anyone know how to solve the problem?

Regards,

Rachit

Find more posts tagged with

Sort by:
1 - 4 of 41