mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-25 17:02:26 +00:00
91f4c7f45f
Based on Boolberry work by: jahrsg <jahr@jahr.me> cr.zoidberg <crypto.zoidberg@gmail.com>
22 lines
396 B
Python
Executable file
22 lines
396 B
Python
Executable file
#!/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)
|
|
|