[asdf-devel] asdf:run-shell-command - fix, delete or don't touch?

dherring at tentpost.com dherring at tentpost.com
Fri Oct 7 13:13:23 UTC 2011


Faré wrote:
> If a shell is ever involved, it's only because many implementations
> do not provide any better access to subprocesses than system(3).

Slightly off-topic for asdf, but IMO bug reports should be filed against
all such implementations.  The system() call is nice for easy things, but
really hairy for complex stuff.

For example, the most popular answer to a Python programmer's question
about system() quoting was "use subprocess.call instead" (an execv-style
command).
http://stackoverflow.com/questions/204017/how-do-i-execute-a-program-from-python-os-system-fails-due-to-spaces-in-path

- Daniel





More information about the asdf-devel mailing list