File size: 303 Bytes
29e891a
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12

import pickle, sys, time
from pathlib import Path
pkl = Path(sys.argv[1]); marker = Path(sys.argv[2])
if marker.exists():
    marker.unlink()
pickle.load(open(pkl, "rb"))
time.sleep(0.5)
print("FIRED", marker.exists())
if marker.exists():
    print(marker.read_text(errors="replace")[:100])