Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 251 Bytes
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import pickle
import cloudpickle
if __name__ == "__main__":
(f, args, kwargs) = pickle.load(sys.stdin)
res = f(*args, **kwargs)
cloudpickle.dump(res, open("/tmp/.result", "wb"))
You can’t perform that action at this time.