Can Java / Scala create a new interactive application (like a command line editor)?
When I Runtime.getRuntime (). If I use Exec ("vim test")
, then I get only a process instance, while vim
will be running in the background; Instead the user is visible.
You must use input and output authors
.You have to redirect each input to the spanned process and every output to the user.
Comments
Post a Comment