Is there a way to not wait for a system() command to finish? (in c) [duplicate]
system() simply passes its argument to the shell (on Unix-like systems, usually /bin/sh). Try this: int a = system(“python -m plotter &”); Of course the value returned by system() won’t be the exit status of the python script, since it won’t have finished yet. This is likely to work only on Unix-like systems (probably including … Read more