Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2797

Error - send: spawn id exp4 not open

$
0
0

When I run my script that auto-authorizes the user:

expect -c ' log_user 0 spawn /usr/bin/sudo su - <username> expect "password: " sleep 5 send "password\n" interact'

it results in:

send: spawn id exp4 not open while executing

Viewing all articles
Browse latest Browse all 2797

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>