On Tue, Apr 22, 2008 at 12:57:56PM -0300, Facundo Batista wrote: > > - Why can't I write "ls -l", instead of ["ls", "-l"] (people ends > writing "ls -l".split())
That's the best thing about subprocess. Whenever I've used APIs that accept a single string instead of list of arguments, I've quickly descended into quoting hell. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868
pgpSAT3OjJ1is.pgp
Description: PGP signature
_______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com