1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/plume_ynh.git synced 2024-09-03 20:15:54 +02:00

test spawn to input commands

This commit is contained in:
anmol26s 2018-09-19 18:45:59 +05:30
parent 705ac97afe
commit 899e8dce7f

View file

@ -1,5 +1,4 @@
#!/usr/bin/expect
set timeout 10
set final_path [lindex $argv 0]
set domain [lindex $argv 1]
@ -10,6 +9,8 @@ set port [lindex $argv 5]
cd $final_path
export PATH="$PATH:/root/.cargo/bin:$final_path/.local/bin:/usr/local/sbin"
spawn cargo run
expect "First let's check that you have all the required dependencies. Press Enter to start."