Currently I execute multiple scripts in the following format:
os.system(./script1) os.system(./script2) os.system(./script3)
But now I need to modify the code in such a way that script1, script2 etc return a success code(0) or failure code(1). But os.system can not return these values.
What I need to do so that I can write my scripts in the following fashion:
Result = ./script1 Result = ./script2
and so on....
Your help would be very much appreciable.