ruby - Execute commands in irb from java -


i want start irb (interactive ruby shell) in terminal using java , execute different commands on opened irb shell when particular event occurs. have tried runtime.exec() method executes commands on terminal or command prompt , unable execute commands in irb shell. every time executes commands on new instance of terminal instead of same instance. want execute multiple commands on same terminal instance instead of newly created instance of terminal.

please suggest. in advance.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -