You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在运行python脚本时提示:
exit status 2: python: can't open file '/data/applogs/xxl-job/jobhandler/gluesource/3_1632902167000.py 0 1 >>/data/applogs/xxl-job/jobhandler/2021-09-30/12.log': [Errno 2] No such file or directory
在运行python脚本时提示:
exit status 2: python: can't open file '/data/applogs/xxl-job/jobhandler/gluesource/3_1632902167000.py 0 1 >>/data/applogs/xxl-job/jobhandler/2021-09-30/12.log': [Errno 2] No such file or directory
在尝试修改 handler.execute_handler.go:149 行为 buffer.WriteString(" >> ")
和修改 handler.execute_handler.go:157 行为 cmd := exec.CommandContext(cancelCtx, scriptCmd[glueType], strings.Split(c, " ")...)
后可正常运行
猜测原因可能是因为 CommandContext 默认将 c := buffer.String() c 中内容识别为整体导致的。
The text was updated successfully, but these errors were encountered: