获取错误 bash
TI runtime exec failed: exec failed: container_linux.go:345: starting container process caused"exec: \"3ed84a23c52d\": executable file not found in $PATH": unknown 如果我从docker-compose.yml文件中删除redis
首先,我尝试了这个int ret = system(/system/bin/sh /full/path/a.sh),结果发现每次system()用代码127 -命令返回时都不存在错误。我在这里找到了一个解决办法:和我做@Nikhilendra这样说:
int ret = execl("/system/bin/sh","/system/bin/sh","