Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not killing process #40

Open
k1ng440 opened this issue Jun 3, 2019 · 0 comments
Open

Not killing process #40

k1ng440 opened this issue Jun 3, 2019 · 0 comments

Comments

@k1ng440
Copy link

k1ng440 commented Jun 3, 2019

service.exe is not being killed therefore I am getting Only one usage of each socket address (protocol/network address/port) is normally permitted

godev --ignore "docs,service.exe,service.exe~" --exec "swag init" --exec "go build -o service.exe main.go route.go" --exec "service.exe" --ar
gs "--server_address 127.0.0.1:8081"
�[�[32m|Jun04/01:30| [main] godev has started
�[0m�[�[32m|Jun04/01:30| [main] working dir : 'E:\coinread\coinread-api'
�[0m�[�[32m|Jun04/01:30| [main] watching dir: 'E:\coinread\coinread-api'
�[0m�[�[32m|Jun04/01:30| [command/swag] 'init'
► ─────────────────────────────────────────── pid:25316 id:bee3d3 ►
�[0m2019/06/04 01:30:18 Generate swagger docs....
2019/06/04 01:30:18 Generate general API Info
2019/06/04 01:30:18 Generating common.HTTPError
2019/06/04 01:30:18 Generating models.Portfolio
2019/06/04 01:30:18 Generating models.PortfolioSymbols
2019/06/04 01:30:18 Generating models.PortfolioSymbol
2019/06/04 01:30:18 Generating models.PortfolioTransactions
2019/06/04 01:30:18 Generating models.PortfolioTransaction
2019/06/04 01:30:18 Generating models.MarketSymbol
2019/06/04 01:30:18 Generating models.Tickers
2019/06/04 01:30:18 Generating models.Ticker
2019/06/04 01:30:18 Generating models.TickerHyperlink
2019/06/04 01:30:18 create docs.go at  docs/docs.go
2019/06/04 01:30:18 create swagger.json at  docs/swagger.json
2019/06/04 01:30:18 create swagger.yaml at  docs/swagger.yaml
�[�[32m|Jun04/01:30| [command/swag]
■ ─────────────────────────────────────────── pid:25316 id:bee3d3 ■
�[0m�[�[32m|Jun04/01:30| [command/go] 'build', '-o', 'service.exe', 'main.go', 'route.go'
► ─────────────────────────────────────────── pid:30840 id:93427a ►
�[0m�[�[32m|Jun04/01:30| [command/go]
■ ─────────────────────────────────────────── pid:30840 id:93427a ■
�[0m�[�[32m|Jun04/01:30| [command/service.exe] '--server_address', '127.0.0.1:8081'
► ─────────────────────────────────────────── pid:31408 id:44b5b0 ►
�[0m2019/06/04 01:30:22 Using high precision timer
time="2019-06-04T01:30:22+06:00" level=info msg="loading config: config.yaml"
time="2019-06-04T01:30:22+06:00" level=info msg="Listening on 127.0.0.1:8081\n" caller="service.go:192"
|Jun04/01:30| [runner] terminating pipeline 1...
|Jun04/01:30| [runner] terminated pipeline 1
|Jun04/01:30| [command/service.exe] not supported by windows
|Jun04/01:30| [command/service.exe]
■ ─────────────────────────────────────────── pid:31408 id:44b5b0 ■
|Jun04/01:30| [run/1/3/3]] command[44b5b0] exited with: interrupt
|Jun04/01:30| [command/swag] 'init'
► ─────────────────────────────────────────── pid:17164 id:bee3d3 ►
2019/06/04 01:30:28 Generate swagger docs....
2019/06/04 01:30:28 Generate general API Info
2019/06/04 01:30:28 Generating common.HTTPError
2019/06/04 01:30:28 Generating models.Portfolio
2019/06/04 01:30:28 Generating models.PortfolioSymbols
2019/06/04 01:30:28 Generating models.PortfolioSymbol
2019/06/04 01:30:28 Generating models.PortfolioTransactions
2019/06/04 01:30:28 Generating models.PortfolioTransaction
2019/06/04 01:30:28 Generating models.MarketSymbol
2019/06/04 01:30:28 Generating models.Tickers
2019/06/04 01:30:28 Generating models.Ticker
2019/06/04 01:30:28 Generating models.TickerHyperlink
2019/06/04 01:30:28 create docs.go at  docs/docs.go
2019/06/04 01:30:28 create swagger.json at  docs/swagger.json
2019/06/04 01:30:28 create swagger.yaml at  docs/swagger.yaml
|Jun04/01:30| [command/swag]
■ ─────────────────────────────────────────── pid:17164 id:bee3d3 ■
|Jun04/01:30| [command/go] 'build', '-o', 'service.exe', 'main.go', 'route.go'
► ─────────────────────────────────────────── pid:14816 id:93427a ►
|Jun04/01:30| [command/go]
■ ─────────────────────────────────────────── pid:14816 id:93427a ■
|Jun04/01:30| [command/service.exe] '--server_address', '127.0.0.1:8081'
► ─────────────────────────────────────────── pid:28700 id:44b5b0 ►
2019/06/04 01:30:33 Using high precision timer
time="2019-06-04T01:30:33+06:00" level=info msg="loading config: config.yaml"
time="2019-06-04T01:30:33+06:00" level=warning msg="listen tcp 127.0.0.1:8081: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted." caller="main.go:60"
|Jun04/01:30| [command/service.exe]
■ ─────────────────────────────────────────── pid:28700 id:44b5b0 ■
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant