0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 12:14:51 +01:00
gitea/modules/process
Mura Li f4d12f8d97 Fix run command race (#1470)
* Use exec.CommandContext to simplfy timeout handling

And fixing the data races which can be identified by the added tests when -race enabled.

* Use sleep commmand instead of reading from stdin

* Make the error handling go-esque
2017-11-13 22:51:45 +08:00
..
manager_test.go Fix run command race (#1470) 2017-11-13 22:51:45 +08:00
manager.go Fix run command race (#1470) 2017-11-13 22:51:45 +08:00