Can we pass some arguments to system("cmdline")?

Piet van Oostrum piet at cs.uu.nl
Mon Jun 20 12:34:31 CEST 2005


>>>>> "Didier Casse" <elprodigio at gmail.com> (DC) wrote:

>DC> Thanks all for the reply. I'll try out those things out. :)

But don't try the following 
>>> > system("ls $dir");
with
>>> dir=="/home/foo; rm -rf /" 

-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: piet at vanoostrum.org



More information about the Python-list mailing list