Re: RFR: 8276408: Deprecate Runtime.exec methods with a single string command line argument [v2]

2021-11-05 Thread Alan Bateman
On Fri, 5 Nov 2021 20:00:24 GMT, Roger Riggs wrote: >> The three `java.lang.Runtime.exec` methods that tokenize a command line to >> produce an array of string arguments are easily misused, sometimes with >> erroneous results. For example, on some operating systems, spaces are >> supported in

Re: RFR: 8276408: Deprecate Runtime.exec methods with a single string command line argument [v2]

2021-11-05 Thread Roger Riggs
> The three `java.lang.Runtime.exec` methods that tokenize a command line to > produce an array of string arguments are easily misused, sometimes with > erroneous results. For example, on some operating systems, spaces are > supported in filenames and are in common use. > > The tokenization use

RFR: 8276408: Deprecate Runtime.exec methods with a single string command line argument

2021-11-03 Thread Roger Riggs
The three `java.lang.Runtime.exec` methods that tokenize a command line to produce an array of string arguments are easily misused, sometimes with erroneous results. For example, on some operating systems, spaces are supported in filenames and are in common use. The tokenization uses only white