without shell

Michael Chermside mcherm at mcherm.com
Fri Jun 10 19:32:50 CEST 2005

KM writes:
> can any linux command be invoked/  executed without using shell (bash) ?
> what abt security concerns ?


See: http://docs.python.org/lib/module-subprocess.html

An exerpt:
> On Unix, with shell=False (default): In this case, the Popen class uses
> os.execvp() to execute the child program.

-- Michael Chermside

More information about the Python-list mailing list