I am curious to know how run Method is executing the commands and producing output.I am not getting the code