diff options
| author | shihaoyue <[email protected]> | 2024-06-24 21:33:48 +0800 |
|---|---|---|
| committer | shihaoyue <[email protected]> | 2024-06-24 21:33:48 +0800 |
| commit | f592e35dde68c5a2bca206188d84457abfca9efc (patch) | |
| tree | e7784c3674b634f718f63c67bc1c36f348771e29 /agent/apps | |
| parent | a26acf272f5b2bf0a123aaab67a9a4cc97a0719d (diff) | |
!!!一个参数修复回传bug
Diffstat (limited to 'agent/apps')
| -rw-r--r-- | agent/apps/script.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/apps/script.py b/agent/apps/script.py index 682e065..03005bf 100644 --- a/agent/apps/script.py +++ b/agent/apps/script.py @@ -135,7 +135,7 @@ def execute(): # 根据脚本类型构建命令 if '.py' in script_path: - command = f'python {script_path} {data.get('param')}' + command = f'python -u {script_path} {data.get('param')}' elif '.go' in script_path: command = f'go run {script_path} {data.get('param')}' else: |
