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

User: "Rachit Semalty"
Altair Community Member
Updated by Rachit Semalty

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 - 1 of 11