|
@@ -3,8 +3,6 @@ import os
|
|
|
|
|
|
|
|
|
|
def start(args, logfile, errfile):
|
|
def start(args, logfile, errfile):
|
|
- subprocess.call("go get github.com/gin-gonic/gin", shell=True, cwd="gin", stderr=errfile, stdout=logfile)
|
|
|
|
- subprocess.call("go get github.com/go-sql-driver/mysql", shell=True, cwd="gin", stderr=errfile, stdout=logfile)
|
|
|
|
subprocess.Popen("go run hello.go".rsplit(" "), cwd="gin", stderr=errfile, stdout=logfile)
|
|
subprocess.Popen("go run hello.go".rsplit(" "), cwd="gin", stderr=errfile, stdout=logfile)
|
|
return 0
|
|
return 0
|
|
|
|
|