Select() return -1,errno=1. run filebeat by golang code

What is the problem with using the package exec to run Filebeat? How use Stop method?