martin gzlist cdtrrsgooglemailcom 22042008 facundo batista wrote 2008422 andrew mcnabb thats best thing subprocess whenever ive used apis accept single string instead list arguments ive quickly descended quoting hell dont understand could please provide one example two thank facundo well heres real method ran back replaceorigname example written perfectly able python programmer publicly released code def example_commandself command args args joins arg arg args return example exampledirs selfexample_dir command args whats wrong well use unix spaces directories legal quote youll probably say nothing string interpolating command calls makes unnecessarily nonportable code subprocess could start optionally taking unicode arguments could actually get whole filesystem martin _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom thu 07 aug 2008 233149 0100 python3000 ospopen versus subprocesspopen