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
在install脚本执行到 echo $PasswdValueRead | sudo -S launchctl load -w ~/Library/LaunchAgents/BaiduCloudGuardian.plist
有几率报错: /Users/wendy/Library/LaunchAgents/BaiduCloudGuardian.plist: Path had bad ownership/permissions
如果上一个报错未发生,或者手动使用命令: sudo launchctl load -w ~/Library/LaunchAgents/BaiduCloudGuardian.plist
修复之后,在: /Users/用户名/BaiduCloudGuardian/Logs
可能有这样的报错 /bin/sh: ./PmsetCheck: No such file or directory Traceback (most recent call last): File "/Users/wendy/BaiduCloudGuardian/PythonMain", line 19, in <module> BatterySleepList = PmsetValueList[0] IndexError: list index out of range
这个问题困扰很久了,这些shell脚本和python程序在终端里执行没问题,但launchd调用他们时却出错。
无力解决,抱歉
The text was updated successfully, but these errors were encountered:
在install脚本执行到
echo $PasswdValueRead | sudo -S launchctl load -w ~/Library/LaunchAgents/BaiduCloudGuardian.plist
有几率报错:
/Users/wendy/Library/LaunchAgents/BaiduCloudGuardian.plist: Path had bad ownership/permissions
如果上一个报错未发生,或者手动使用命令:
sudo launchctl load -w ~/Library/LaunchAgents/BaiduCloudGuardian.plist
修复之后,在:
/Users/用户名/BaiduCloudGuardian/Logs
可能有这样的报错
/bin/sh: ./PmsetCheck: No such file or directory
Traceback (most recent call last):
File "/Users/wendy/BaiduCloudGuardian/PythonMain", line 19, in <module>
BatterySleepList = PmsetValueList[0]
IndexError: list index out of range
这个问题困扰很久了,这些shell脚本和python程序在终端里执行没问题,但launchd调用他们时却出错。
无力解决,抱歉
The text was updated successfully, but these errors were encountered: