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:
parent
705ac97afe
commit
899e8dce7f
1 changed files with 2 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Reference in a new issue