Hi,
I tried to use a shell command to create md5 hashes for files like here http://forum.xda-developers.com/showthread.php?t=1704493, but for large files, I only get "Function aborted!" error. It looks like there is a timeout for a shell command. If this is the case, can I make it longer?
Shell command ends with "Function aborted" error
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The function is currently limited to 10 seconds. This is necessary because the command may be waiting for user input, and then it would hang forever. Maybe you have a better idea how to solve it?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I can see some possible solutions with varying difficulty:
1. The command would open a read only console, that would show the stderr and stdout and the user could use it to enter something to stdin.
2. The command would open a simple dialog with cancel button, that would kill the command.
3. The command properties would be extended with timeout settings.
Specifically stdin could be redirected from /dev/null, but there are many more possibilities where the command could hang.
1. The command would open a read only console, that would show the stderr and stdout and the user could use it to enter something to stdin.
2. The command would open a simple dialog with cancel button, that would kill the command.
3. The command properties would be extended with timeout settings.
Specifically stdin could be redirected from /dev/null, but there are many more possibilities where the command could hang.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Please try beta 4, it uses a combination of 1 and 2: It shows a dialog box after 2 seconds which shows the last 10 lines returned by the shell command, plus a button to abort.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com