zeroturnaround / zt-exec

ZeroTurnaround Process Executor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

While the process is running, is it possible to send input to it?

justin-eckenweber opened this issue · comments

Hey,

I'm trying to run a process, that requires an input after it's started. Is it possible to do that? (It can't be done with environment values)

You can use ProcessExecutor.redirectInput(InputStream) method to send input to the process.