ProcessBuilder « API « Java I/O Q&A





1. Java ProcessBuilder: external process hangs    stackoverflow.com

I'm using Java's ProcessBuilder class to run an external process. The process should not terminate before the Java program does; it must stay alive in command/response mode. I know that the process ...

2. Java hangs when trying to close a ProcessBuilder OutputStream    stackoverflow.com

I have the following Java code to start a ProcessBuilder, open an OutputStream, have the process write a string to an OutputStream, and then close the OutputStream. The whole thing ...

3. Problem reading InputStream from Java Process (Runtime.getRuntime().exec() or ProcessBuilder)    stackoverflow.com

I'm trying to start a process externally with Java and can't read anything from its InputStream - dunno why! If I'm starting a process with commands like "ls", "ps" or "kill" everything ...

4. Java ProcessBuilder how to capture file reading request from process and provide as stream?    stackoverflow.com

I am somewhat familiar with ProcessBuilder and do process the streams. Now I ran into the problem that the process that I am automating reads some information from two files that I ...

5. I/O output depending on reader's buffer size    stackoverflow.com

this is a followup on my former question here. The resulting file which should be a wave file is by far too lage when I am using a byte array like ...

6. Java process cannot capture InputStream, OutputStream from gpg.exe    stackoverflow.com

I am trying to decrypt using gpg.exe --passphrase-file my.passphrase --decrypt --output MTR241_20111124.htm MTR241_20111124.htm.gpg (without --batch and --yes option). I am also providing the encryption command if anyone cares to use ...