$ cat test.sh
#! /bin/bash
run="/Applications/YubiKey\ Manager.app/Contents/MacOS/ykman openpgp"
$run info
$ ./test.sh: line 5: /Applications/YubiKey\: No such file or directory
Is there a way to handle space in path to executable (/Applications/YubiKey\ Manager.app/Contents/MacOS/ykman
) and space between path and argument (…/ykman openpgp
)?