News for hackers. Stuff that matters.
Re:Fixing the Python subprocess interface by mgedmin on Monday January 30, 2012 @06:15PM (#3531029)
Exactly. If you look at the sources, you'll see that the arguments are all joined into a single string with spaces, then split back into separate words using shlex.split().

So cat("filename with spaces in it") will fail, but cat("'filename with spaces in it') ought to succeed.

It's a neat experiment, but using this module in production would not be a great idea.

There are no comments on this comment yet.