1. Stop let the process be a daemon
2. Use the xterm to run the script
3. The program can be run in background mode