how to simulate tar filename substitution across piped subprocess.Popen() calls?

jkn jkn_gg at nicorp.f9.co.uk
Sun Nov 18 18:17:48 EST 2012


Hi Hans

[...]
> 
> 
> However, once he does that, it's simpler to cut out xargs and invoke
> 
> "sh" directly.  Or even cut out "sh" and "test" and instead use
> 
> os.path.isfile and then call md5sum directly.  And once he does that,
> 
> he no longer needs to worry about single quotes.
> 

Yes indeed, using os.path.isfile() and them md5sum directly is my plan ... for reasons of maintainability (by myself) more than anything else.

> 
> 
> The OP has said, he's going to d all that.  One step at a time.
> 
> That sounds like a sensible plan to me.
> 

Thanks a lot.

    J^n



More information about the Python-list mailing list