The idea for FinishInterceptors is very simple – when the initial process,StartApp,is finished –then run some other programs . And here comes some decisions:
- Pass the ExitCode of the StartApp ? ( YES)
- Pass the output lines of text of the StartApp ? ( NO – could be enormous )
- What to do if the StartApp has not finished in time ? ( Do nothing – we need the exit code)
- Wait for FinishInterceptors to finish ? If yes,how much time ? ( yes )
Same problems for TimerInterceptors and for LineInterceptors.
But,I think,the best way is to draw a diagram for that.
In the meantime,the project is already WIP
Leave a Reply