Spaces:
Running
Running
Commit
·
0444141
1
Parent(s):
3f85daf
Remove current work directory
Browse files- app_legacy.py +0 -1
- io_utils.py +0 -1
app_legacy.py
CHANGED
|
@@ -266,7 +266,6 @@ def try_submit(
|
|
| 266 |
|
| 267 |
evaluator = subprocess.Popen(
|
| 268 |
command,
|
| 269 |
-
cwd=os.path.join(os.path.dirname(os.path.realpath(__file__)), "cicd"),
|
| 270 |
stderr=subprocess.STDOUT,
|
| 271 |
)
|
| 272 |
result = evaluator.wait()
|
|
|
|
| 266 |
|
| 267 |
evaluator = subprocess.Popen(
|
| 268 |
command,
|
|
|
|
| 269 |
stderr=subprocess.STDOUT,
|
| 270 |
)
|
| 271 |
result = evaluator.wait()
|
io_utils.py
CHANGED
|
@@ -124,7 +124,6 @@ def pop_job_from_pipe():
|
|
| 124 |
log_file = open(f"./tmp/{job_info[0]}_log", "a")
|
| 125 |
subprocess.Popen(
|
| 126 |
command,
|
| 127 |
-
cwd=os.path.join(os.path.dirname(os.path.realpath(__file__)), "cicd"),
|
| 128 |
stdout=log_file,
|
| 129 |
stderr=log_file,
|
| 130 |
)
|
|
|
|
| 124 |
log_file = open(f"./tmp/{job_info[0]}_log", "a")
|
| 125 |
subprocess.Popen(
|
| 126 |
command,
|
|
|
|
| 127 |
stdout=log_file,
|
| 128 |
stderr=log_file,
|
| 129 |
)
|