Skip to content

Commit 89d33a4

Browse files
feat: use background executor for Terminal.isAxsRunning()
1 parent 93618a4 commit 89d33a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/terminal/www/Terminal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const Terminal = {
9191

9292
if (!pidExists) return false;
9393

94-
const result = await Executor.execute(`kill -0 $(cat $PREFIX/pid) 2>/dev/null && echo "true" || echo "false"`);
94+
const result = await Executor.BackgroundExecutor.execute(`kill -0 $(cat $PREFIX/pid) 2>/dev/null && echo "true" || echo "false"`);
9595
return String(result).toLowerCase() === "true";
9696
},
9797

0 commit comments

Comments
 (0)