+        if hassubprocess == 1:
+            assert 0 == subprocess.call(["wget", "-N", "-c", "-O", fname, loc])
+        else:
+            assert 0 == os.spawnvp(os.P_WAIT, "wget", ["-N", "-c", "-O", 
fname, loc])

Why not use os.spawnvp even with newer versions? Less complex.

Best regards, ---
Peter Åstrand           ThinLinc Chief Developer
Cendio AB               http://www.cendio.com
Wallenbergs gata 4
583 30 Linköping        Phone: +46-13-21 46 00
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to