I'm trying to construct a command containing double quotes, e.g.: scp 
"StrictHostKeyChecking no" source [email protected]:~

However, I can't figure out how to escape the double quotes when using the 
julia backtick syntax. For example, none of the following work:

julia> `scp "StrictHostKeyChecking no" source [email protected]:~`
`scp 'StrictHostKeyChecking no' source [email protected]:~`


julia> `scp \"StrictHostKeyChecking no\" source [email protected]:~`
`scp '"StrictHostKeyChecking' 'no"' source [email protected]:~`


julia> `scp """StrictHostKeyChecking no""" source [email protected]:~`
`scp 'StrictHostKeyChecking no' source [email protected]:~`


Any suggestions?

Reply via email to