use another thread to launch the command