diff --git a/async_wrapper b/async_wrapper index 523011698b1..2b663e9891e 100755 --- a/async_wrapper +++ b/async_wrapper @@ -32,13 +32,14 @@ import traceback if len(sys.argv) < 3: print json.dumps({ "failed" : True, - "msg" : "usage: async_wrapper . Humans, do not call directly!" + "msg" : "usage: async_wrapper . Humans, do not call directly!" }) sys.exit(1) jid = sys.argv[1] wrapped_module = sys.argv[2] -args = sys.argv[3:] +time_limit = sys.argv[3] +args = sys.argv[4:] cmd = "%s %s" % (wrapped_module, " ".join(args))