Search:

Type: Posts; User: Freaky Chris

Search: Search took 0.09 seconds.

  1. Re: Sending commands through Java to Terminal

    Please look at the links below, the first is to Java 7 Runtime, which includes the exec function. This returns a Prcoess object (shown in the second link) from this you can retrieve input and output...
  2. Re: Sending commands through Java to Terminal

    But my point is that you can call "java [path]" from Runtime.exec or a more advanced method. Rather than needing to launch a terminal and the send commands to the terminal.
  3. Re: Sending commands through Java to Terminal

    Why bother opening a terminal? Why not just sent the commands using the exec function of Runtime? Or a more advanced approach perhaps.

    Chris
Results 1 to 3 of 3