qinglong/back
Copilot 6a3dd4f83c
Fix null log_name issue by omitting it from shell command when not set (#2849)
* Initial plan

* Fix null log_name handling in runSingle method

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Update cron.log_name before makeCommand to avoid passing null to shell

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Fix: Only pass log_name to shell when it has a value

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Fix uniqPath calculation in runSingle for null log_name

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Improve comment clarity in makeCommand

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Refactor: Move no_tee and ID to initial commandVariable declaration

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Refactor: Simplify uniqPath ternary expression

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2025-11-22 12:06:01 +08:00
..
api Add global SSH key configuration in system settings (#2840) 2025-11-20 10:09:01 +08:00
config feat: Support multiple concurrent login sessions per platform (#2816) 2025-11-19 00:18:29 +08:00
data Add global SSH key configuration in system settings (#2840) 2025-11-20 10:09:01 +08:00
interface 修改定时规则类型 2025-02-21 01:35:08 +08:00
loaders Add global SSH key configuration in system settings (#2840) 2025-11-20 10:09:01 +08:00
middlewares 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
protos Add cron task management to QLAPI (#2826) 2025-11-14 23:20:56 +08:00
schedule Add cron task management to QLAPI (#2826) 2025-11-14 23:20:56 +08:00
services Fix null log_name issue by omitting it from shell command when not set (#2849) 2025-11-22 12:06:01 +08:00
shared feat: Support multiple concurrent login sessions per platform (#2816) 2025-11-19 00:18:29 +08:00
types 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
validation Fix task duplication: add single/multi-instance support with UI configuration and stop all running instances (#2837) 2025-11-19 00:10:27 +08:00
app.ts 更新启动日志 2025-11-16 21:31:52 +08:00
token.ts 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
tsconfig.json 修改服务启动逻辑 2025-05-07 09:30:00 +08:00