0

Hello I have Java application that runs under unix and has console for user imput. I would like to perform something like this -

If I enter "edit config" I would like to vi pop up with config file loaded (with java still running in background" and after user is done editing and he closes vi, the java would take controle of console again. Is there a special way / tool to achiev this? Any help appritiated, thank you!

2
Contributors
6
Replies
7
Views
6 Years
Discussion Span
Last Post by Gaspacho
0

SystemTray#SystemTray.getSystemTray();

Hello, can this by used under bash? Application runs in console, not in graphical mode.

0

then how can you

If I enter "edit config"

The application is console based without UI... it has its own command prompt waiting for user input... if user inserts "edit config" I want java command promt hidden, and see file opened in vi in linux console... when user is done (:wq) then java command prompt would appear again

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.