Buckets:

redmingwei's picture
download
raw
464 Bytes
import subprocess, sys, os, time
stage = sys.argv[1] if len(sys.argv) > 1 else "convert"
logp = f"/domains/eeg4d_merge_{stage}.log"
log = open(logp, "w")
p = subprocess.Popen([sys.executable, "-u", "/domains/scripts/eeg4d_merge.py", stage],
stdout=log, stderr=subprocess.STDOUT, start_new_session=True,
cwd="/tmp")
print("pid", p.pid, "log", logp)
time.sleep(25)
print("--- log head ---")
print(open(logp).read()[-2500:])

Xet Storage Details

Size:
464 Bytes
·
Xet hash:
c43bb2fc270f9748d9f97b92e9d39e06254885a70273f0325cd1cc83b3d9a1b0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.