Quantcast
Channel: Running interactive shell program in Java - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by MaanooAk for Running interactive shell program in Java

The exact equivalent of system("vi") is:final ProcessBuilder p = new...

View Article


Answer by RealSkeptic for Running interactive shell program in Java

I declare in advance that this is a terrible kludge, but given your constraints, I'm not sure you'll find something more elegant.Also, it will not work on Windows.Use bash:class Exetest { public static...

View Article

Answer by David Williams for Running interactive shell program in Java

Well, first, ProcessBuilder is in Java 6 too. If you mean that version in inadequate, or something, then I think there are two pieces of information you need to know. First, the main way of running an...

View Article

Running interactive shell program in Java

I am trying (and failing) to work out how I can run a fully interactive shell program from within Java.Here's the scenario:I have a large GUI application which is cross platform and written in Java....

View Article
Browsing latest articles
Browse All 4 View Live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>