mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-02 14:45:25 +02:00
8 lines
164 B
Text
8 lines
164 B
Text
#!/usr/bin/expect -f
|
|
|
|
set passwd [lindex $argv 0]
|
|
set timeout 6000
|
|
|
|
set id [eval spawn scp -qp [lrange $argv 1 end]]
|
|
expect "Password:" { send "$passwd\r" }
|
|
expect
|