Hi,
When I invoke monero-wallet-cli to order a transfer is there a way to avoid pass the password to it without using a "--password" command-line argument?
Sometimes the wallet exits with an error such as "Error: Not enough money in unlocked balance" or "Error: daemon is busy. Please try again later." but the exitValue, which is the "$?" shell pseudovariable, is always 0, just as if it always succeeded. Is it possible to have it exit with a 0 only if it succeeded, and in all other cases with an errorcode specific to any error?
Thank you.
Do you want to skip the password requirement upon sending a transaction?
No, I dont, as the protection offered thanks to the password is useful. I want to be able to invoke the CLI wallet and to provide the password without having to put it in an argument, because it is less secure as other users may have access to the active processes informations, including CLI argument. May I put the password in a file, and instruct monero-wallet-cli to read it there?
As for the exit code I want to be able to invoke monero-wallet-cli from another program which must be informed if monero-wallet-cli encounters some error. I may use RPCs but this is not convenient from a shellscript.