On 2016-11-01 01:23 AM, Ben Finney wrote:
Wildman via Python-list <python-list@python.org> writes: So the way your script was invoked has no bearing on whether Bash will get involved in what your script does. Your script is *directly* invoking programs, and if you don't ask for a shell to be involved you won't get it.
In other words, the OP's script *is* bash in this scenario or a reasonable facsimile thereof.
The subject probably should have been "Emulating a shell in Python." Of course, if the OP knew to use that subject he probably would have already had the answer. :-)
-- D'Arcy J.M. Cain System Administrator, Vex.Net http://www.Vex.Net/ IM:da...@vex.net VoIP: sip:da...@vex.net -- https://mail.python.org/mailman/listinfo/python-list