Niklas Smedemark-Margulies added the comment:
Good point - the phrasing I suggested there is not accurate, and there is more
complicated behavior available than simply specifying a single executable.
Here's the bash manual's info about "-c" flag:
"""
Niklas Smedemark-Margulies added the comment:
Thanks very much for getting back to me so quickly, and for identifying the
reason for the difference in behavior.
Sorry to harp on a relatively small behavior, but it cost me a few hours and it
might cause confusion for others as well.
It
New submission from Niklas Smedemark-Margulies :
Most (all?) of the functions in subprocess (run, Popen, etc) are supposed to
accept either list or string, but the behavior when passing a list differs (and
appears to be wrong).
For example, see below - invoking the command "exit 1&qu