mirror of
https://github.com/whyour/qinglong.git
synced 2025-12-15 16:35:39 +08:00
Export NODE_OPTIONS and PYTHONPATH in bash subprocess so that any node/python commands in task_before (pre-execution field) can access the QLAPI preload. This fixes the issue where running "node /ql/data/scripts/ql_sample.js" in pre-execution fails with "ReferenceError: QLAPI is not defined". Co-authored-by: whyour <22700758+whyour@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| preload | ||
| api.sh | ||
| bot.sh | ||
| check.sh | ||
| env.sh | ||
| otask.sh | ||
| pub.sh | ||
| rmlog.sh | ||
| share.sh | ||
| task.sh | ||
| update.sh | ||