瀏覽代碼

Fixed runlog crash

pull/9/head
pb 2 年之前
父節點
當前提交
e15185a1ba
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      win_verse.js

+ 1
- 1
win_verse.js 查看文件

@@ -21,7 +21,7 @@ var shell_verse = {
, elevatedRunner( taskToRun, inBatch ){
// PB : TODO -- Should be called only when we are in an elevated shell that was already requested from an unelevated shell with a batch of tasks.
try {
var runlogjson = `${selectedinstance.root}/.elxr/run-${runtimestamp}/run.log`
var runlogjson = `${selectedinstance.root}/.elxr/run-${taskToRun.runtimestamp}/run.log`
var __runasresult = null;
return taskToRun().then((r)=>{
// PB : TODO -- Every elevation should have its own messaging file. Async writes from multiple processes are a problem here...

Loading…
取消
儲存