On Friday 10 June 2005 05:30 am, Tomasz Rola wrote: > On Sun, 12 Jun 2005, km wrote: > > > hi all, > > > > can any linux command be invoked/ executed without using shell (bash) ? > > what abt security concerns ? > > Ops, I missed the word "command" when reading your mail for the first > time, and this changes some parts of my previous answer and makes it > shorter: > > There is an execve system call. You don't need neither sh, nor the libc to > run programs. It's described in section 2 of manpages. The rest of the > answer you can get from my previous post.
I haven't used it, but according to the Python 2.4 documentation, the subprocess module does not use any shell. Or the shell is python, as it were. Cheers, Terry -- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com -- http://mail.python.org/mailman/listinfo/python-list