ProcessVariable = Process(target=modulename.methodname) while(True): command = raw_input("Enter an command: ") if(command == "start_the_process"): ProcessVariable.start() if(command == "stop_the_process") ProcessVariable.terminate() #there are otherother commands ofcourse #this stacture cannot be changed at any manner.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)