text_combined: andrew mcnabb xeuksijmcnabbsorg tue apr 22 2008 045242pm 0300 facundo batista wrote think force write tuple list case id need write string uses simple double quotes backslashes ugly dont worth spaces user input special shell characters basically give list tuple arguments fork exec really simple expect specify string either bash something else parse input separate arguments user input involved almost certainly security problems frequently break anyway guido pointed specify shelltrue get latter behavior often sacrifice correctness andor security good habit andrew mcnabb httpwwwmcnabbsorgandrew pgp fingerprint 8a17 b57c 6879 1863 de55 8012 ab4d 6098 8826 6868 thu 07 aug 2008 163857 0600 python3000 ospopen versus subprocesspopen