python 2.7 - wget2 - works in bash shell but not on windows -




i'm using python 2.7.13 , executing script sublime text 3 on windows 10.

i use wget download files use wget2 instead. i've compiled code here wget2.exe: https://github.com/rockdaboot/wget2

when run script sublime text works expected , file downloaded.

from subprocess import call  wget_path = "x:/wget.exe" filetodownload = "http://192.168.1.181/media/test_01.mov" destinationfile = "x:/thing.mov"  call([wget_path, filetodownload, "--output-document=" + destinationfile]) 

if switch wget.exe wget2.exe nothing happens , script finishes. have wget2.exe in same directory wget.exe.

if use mysys2 bash shell, can run wget2.exe there cd'ing it's directory , typing out entire command.

when try doing same in windows command prompt wget.exe works wget2.exe doesn't. nothing , gives no feedback.

what need wget2 work script?





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -