Timeout Exception Occur, How to run command continue in backgeound
Opened this issue · 3 comments
VikramSN commented
i am tring to get Hash Value, but it always return me status code 0 and message is nothing.
Please check code below.'
val hashValue: StringBuilder = StringBuilder() val hashCommand = RootManager.getInstance().runCommand("md5sum $path") hashValue.append("MD5 : ${hashCommand.message}") Log.d("getHash","Hash Message : "+hashCommand.message) Log.d("getHash","Hash Status Code : "+hashCommand.statusCode) Log.d("getHash","Hash Result : "+hashCommand.result)
Chrisplus commented
Hi,
Thanks for reporting. May I know if you have granted SU permission before run this command?
VikramSN commented
Yes, I root the device and give superuser permission granted.
its working well with 8GB Pendrive within 4 minutes it gives a result.
but for a long time process such as 1TB HDD, it returns timeout exception.