• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Dash-cli command line and password with spaces - bad?

europound

Member
if there are spaces and special chars in password then command lines will fail correct?

  1. " ./dash-cli walletpassphrase your password With Spaces and%&"Spech chars? 120"
    " ./dash-cli masternode start-missing"
 
Just do what you usually do with CLI options containing whitespace. Wrap them in quotes. For example:

Code:
#: ./someApplication --option "Parameter with whitespace"

#: cp "/home/user/Folder Whitespace/" "/home/user/CopyOtherFolder/"

Depending on the operating system and shell you may also escape whitespace using:

Code:
"\ " without the quotes
 
Last edited:
Back
Top