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

europound

Member
Oct 22, 2016
123
1
68
72
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"
 

Figlmüller

Member
Sep 2, 2014
85
45
58
Vienna, Austria
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:
  • Like
Reactions: stan.distortion