[stdlib-sig] quoting arguments for command-line evaluation

2010-05-24 Thread Bill Janssen
I'm kind of surprised to see that the subprocess module doesn't have a documented function for calling to properly quote command-line arguments. Nor does it seem to do so automatically -- at least on Unix. It *does* have an undocumented function called "list2cmdline" (refered to in passing in the

Re: [stdlib-sig] quoting arguments for command-line evaluation

2010-05-24 Thread C. Titus Brown
On Mon, May 24, 2010 at 07:46:32AM -0700, Bill Janssen wrote: > I'm kind of surprised to see that the subprocess module doesn't have a > documented function for calling to properly quote command-line > arguments. Nor does it seem to do so automatically -- at least on Unix. Bill, I may be about to

Re: [stdlib-sig] quoting arguments for command-line evaluation

2010-05-24 Thread Bill Janssen
C. Titus Brown wrote: > On Mon, May 24, 2010 at 07:46:32AM -0700, Bill Janssen wrote: > > I'm kind of surprised to see that the subprocess module doesn't have a > > documented function for calling to properly quote command-line > > arguments. Nor does it seem to do so automatically -- at least o

Re: [stdlib-sig] quoting arguments for command-line evaluation

2010-05-24 Thread Ian Bicking
On Mon, May 24, 2010 at 11:23 AM, Bill Janssen wrote: > C. Titus Brown wrote: > > > On Mon, May 24, 2010 at 07:46:32AM -0700, Bill Janssen wrote: > > > I'm kind of surprised to see that the subprocess module doesn't have a > > > documented function for calling to properly quote command-line > >