coherence-community / oracle-bedrock

Oracle Bedrock
Other
55 stars 31 forks source link

File/SystemApplicationConsole should not redirect stdin to launched Applications #390

Closed brianoliver closed 7 years ago

brianoliver commented 7 years ago

When multiple applications are launched using a File or SystemApplicationConsole, each console will attempt to independently redirect the stdin (System.in) to the said applications. This doesn't make much sense as multiple applications can't logically consume from the same input stream.

Instead such consoles should provide their own InputStream (pipe), independent of the System.in, that can use be used redirected to applications.

brianoliver commented 7 years ago

To support piping, applications should use the Pipe-based Application Consoles.