expect -c 'spawn su - weby -c /usr/local/bin/Cairo2 ;expect "Password: ";send "passwords\r";interact' cant figure out how to pass args to the launched shell script to set the DISPLAY value perhaps someone knows why
Log in to post a comment.