-2
Obtention de l'erreur lors de l'exécution attendre script script bashErreur lors de l'exécution attendre dans unix
Entrée:
{
/usr/bin/expect << EOF
spawn ssh [email protected] "cd /home/execsped/ram_test_72;./testecho.sh \"$evenno\" \"$eisinno\" \"$efilename\""
expect "Password"
send "[email protected]\r"
expect "*#*"
EOF
}
Sortie:
extra characters after close-quote
while executing
"spawn ssh [email protected] "cd /home/execsped/evoting_test_72;./testecho.sh "10575" "_eVoting.pdf" "abc.pdf"
"
encore obtenir erreur caractères supplémentaires après la fermeture des guillemets lors de l'exécution "spawn ssh [email protected]" cd /home/execsped/evoting_test_72;./testecho.sh "10575" "_eVoting.pdf" « abc .pdf "" " – Rishabh
non, je voulais dire exécuter:" spawn ssh [email protected] "cd /home/execsped/ram_test_72;./testecho.sh $ evenno $ eisinno $ efilename" ' –
cela fonctionne parfaitement maintenant – Rishabh