Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 570 Bytes

File metadata and controls

14 lines (8 loc) · 570 Bytes

ProcessPool

Start serveral process which process commands read from txt file

Functions Implementation

// Read txt file from commands.txt

// foreach every command, and start process with maxNumber number processes according to the command,

// then waiting the exist process exit and start new process to maxNumber number processes until all commands in commands are done.

// then show the final result: "All Pass", "Partial Pass, command "***" need to retry", "All Failed".

// if show the text with Green, Yellow, Red color on the console, it will be better.