I have the following code, which is an expect script, I want to use mkdir to create a directory called input but I know that the command mkdir doesnt work in an expect script I would appreciate any help with this issue, I tried the folloging approach:
#!/usr/bin/expect
expect "hello"
send "world"
mkdir input
Expectis based onTCL, and it has amkdirfunction: tcl.tk/man/tcl8.4/TclCmd/file.htm#M22