想问下PostCmds具体怎么用,有什么限制 #148
Unanswered
misaka10843
asked this question in
Q&A
Replies: 1 comment 5 replies
-
我使用sh文件在终端运行可以正常运行,但是在oliveshell中报错 DEBU[2023-06-28 18:20:33] flv working out="/www/wwwroot/LiveRe/test/[test][20230628182033].flv"
INFO[2023-06-28 18:20:47] record stop: <nil> id=21752702 pf=bilibili
INFO[2023-06-28 18:20:47] cmd start running filepath="/www/wwwroot/LiveRe/test/[test][20230628182033].flv" postCmdArgs="/bin/zsh /www/wwwroot/LiveRe/Live-record-script/mail.sh test $FILE_PATH" postCmdPath=oliveshell
ERRO[2023-06-28 18:20:47] snap failed, empty stream url cnt=1 id=21752702 pf=bilibili
ERRO[2023-06-28 18:20:48] exit status 1 filepath="/www/wwwroot/LiveRe/test/[test][20230628182033].flv" postCmdArgs="/bin/zsh /www/wwwroot/LiveRe/Live-record-script/mail.sh test $FILE_PATH" postCmdPath=oliveshell
ERRO[2023-06-28 18:20:53] snap failed, empty stream url cnt=2 id=21752702 pf=bilibili
ERRO[2023-06-28 18:20:58] snap failed, empty stream url cnt=3 id=21752702 pf=bilibili
ERRO[2023-06-28 18:20:58] rm small file failed(stat): stat : no such file or directory |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
看官方文档的话似乎只能支持系统内自带的命令,我使用zsh来启动python运行脚本的话会出现报错
配置文件大概如下
ps:其实是因为zsh并没有在ubuntu安装,但是我安装完成后用终端运行会出现
所以我就想直接将
/bin/zsh
替换为/usr/bin/python3
,但是会出现下面的错误Beta Was this translation helpful? Give feedback.
All reactions