"如题,求解,使用应用组件貌似行不通!"
如题,求解,使用应用组件貌似行不通!
import subprocess p = subprocess.Popen(("q.bat", model, json_file, lic_file), stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd='dir') try: outs, errs = p.communicate(timeout=15) except subprocess.TimeoutExpired: p.kill()
如果有需要,还需要:
os.environ['CLASSPATH'] = ':'.join(jars)
如果有需要,还需要: