Call a shell command from Python
Wildman
best_lay at yahoo.com
Tue Nov 1 14:51:56 EDT 2016
On Tue, 01 Nov 2016 11:23:09 -0400, D'Arcy Cain wrote:
> On 2016-11-01 01:23 AM, Ben Finney wrote:
>> Wildman via Python-list <python-list at 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. :-)
You are absolutely correct. And thank you for your understanding.
--
<Wildman> GNU/Linux user #557453
Keyboard not detected! Press any key to continue...
More information about the Python-list
mailing list