Sollicitatievraag bij Airware

Coding assignment in Python language: write a program that spawns 10 processes to run tests (mock/stub method for tests is provided). If you kill a process, your main program/process recreates it. You're also required to assign numbers/ids to each process as you create them and ensure that when you recreate killed process, the restarted process is assigned the same ID (from 1 to 10, in this case)

Antwoord op sollicitatievraag

Anoniem

6 okt 2013

Standard stuff, use Python os.subprocess module