Skip to content

Commit 43ab05d

Browse files
committed
Write submission script to temp
1 parent 294965d commit 43ab05d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

executorlib/cache/queue_spawner.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
22
import subprocess
3+
import tempfile
34
from typing import List, Optional, Tuple, Union
45

56
from pysqa import QueueAdapter
@@ -53,6 +54,7 @@ def execute_with_pysqa(
5354
"command": " ".join(command),
5455
"dependency_list": [str(qid) for qid in task_dependent_lst],
5556
"working_directory": os.path.abspath(cwd),
57+
"submission_script_path": tempfile.NamedTemporaryFile().name,
5658
}
5759
if "cwd" in resource_dict:
5860
del resource_dict["cwd"]

0 commit comments

Comments
 (0)