package main
import(
"os"
"fmt"
"io/ioutil"
"./words"
"time"
)
func main(){
fileName:=os.Args[1]
contents,err:=ioutil.ReadFile(fileName)
if(err!=nil){
fmt.Println(err)
return
}
text:=string(contents)
count:=words.CountWords(text);
fmt.Println("There are %d words in your text.\n",count)
time.Sleep(50*time.Second)
}
the exe flicker is generated above, and the final sleep setting does not work. What is the problem