How to execute commands in programming instead of command line

Hi Team,

can we execute the code in form of programming instead of command line in itversity console. if yes can you please tell how can we launch and execute in program

@madasu_ashalatha Please go through this