Re: One more minor addition to ProcessBuilder

2015-07-28 Thread Roger Riggs
Hi David, ok, it seems very minimal if implemented like a writeable file: public static abstract class Redirect { +private static final File nullFile = AccessController.doPrivileged( +(PrivilegedAction) () -> { +return new File((System.getPropert

Re: One more minor addition to ProcessBuilder

2015-07-28 Thread Chris Hegarty
On 28 Jul 2015, at 01:28, Martin Buchholz wrote: > Seems reasonable. Agreed. -Chris. > On Mon, Jul 27, 2015 at 11:09 AM, David M. Lloyd > wrote: > >> Roger & co.: >> >> Since you're already on the topic of manipulating pipes, I thought I'd >> mention one very small yet very useful potentia

Re: One more minor addition to ProcessBuilder

2015-07-27 Thread Martin Buchholz
Seems reasonable. On Mon, Jul 27, 2015 at 11:09 AM, David M. Lloyd wrote: > Roger & co.: > > Since you're already on the topic of manipulating pipes, I thought I'd > mention one very small yet very useful potential enhancement. > > It would be very handy to be able to specify a NULL/bit-bucket >

One more minor addition to ProcessBuilder

2015-07-27 Thread David M. Lloyd
Roger & co.: Since you're already on the topic of manipulating pipes, I thought I'd mention one very small yet very useful potential enhancement. It would be very handy to be able to specify a NULL/bit-bucket source/destination for pipes. For the target process' input, the user can generall