spawn: open a call back
expect {}: the emergence of a desired content, the braces are desired content appears