forked from wownero/wownero
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
396 B
23 lines
396 B
6 years ago
|
#!/usr/bin/env python
|
||
|
|
||
|
from __future__ import print_function
|
||
|
import sys
|
||
|
import subprocess
|
||
|
|
||
|
python = sys.argv[1]
|
||
|
py = sys.argv[2]
|
||
|
c = sys.argv[3]
|
||
|
data = sys.argv[4]
|
||
|
|
||
|
first = python + " " + py + " > " + data
|
||
|
second = [c, '--wide', data]
|
||
|
|
||
|
try:
|
||
|
print('running: ', first)
|
||
|
subprocess.check_call(first, shell=True)
|
||
|
print('running: ', second)
|
||
|
subprocess.check_call(second)
|
||
|
except:
|
||
|
sys.exit(1)
|
||
|
|