-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
su.exe返回值为空。 #755
Comments
@Eric-Joker 按照首页最下方反馈提示,抓取完整日志。 |
这个日志? 补充:有时候脚本运行得快了(两三秒左右?)正常通知。 |
@Eric-Joker 最新版是不是好了 |
嗯,5.0.5好像就好了
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年3月26日(周二) 晚上8:30
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [Tornaco/Thanox] su.exe返回值为空。 (Issue #755)
@Eric-Joker 最新版是不是好了
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug(现象描述)
脚本被成功执行,但是并没有收到通知,log报错。
我估计是没等语句执行完成su.exe就直接返回为空。
To Reproduce(如何复现)
情景模式:
[
{
"name": "something",
"description": "something",
"priority": 0,
"delay": 0,
"condition": "wifiStateChanged == true",
"actions": [
"ui.showNotification("sth.",wifiState.ssid == "sth." || wifiState.ssid == "sth." ? "something" : "something", wifiState.ssid == "sth." || wifiState.ssid == "sth." ? su.exe("/data/something/sth.sh stop") : su.exe("/data/something/sth.sh start"), true)"
]
}
]
Expected behavior(期望结果)
出现通知
Screenshots(截图)
nothing
Version(发现问题的版本):
Additional context(其他信息)
在mt终端模拟器运行语句是有输出的。
shell脚本需要4s-50s才能执行完毕。
将语句改成简单的echo正常。
** Logs**(日志文件)
The text was updated successfully, but these errors were encountered: