From 899e8dce7f3eba858b9135ab2abaae8b7d496492 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Wed, 19 Sep 2018 18:45:59 +0530 Subject: [PATCH] test spawn to input commands --- conf/first_run.exp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/first_run.exp b/conf/first_run.exp index 8e17c7f..ee1b7fb 100644 --- a/conf/first_run.exp +++ b/conf/first_run.exp @@ -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."