move run up
This commit is contained in:
parent
20d659e5a6
commit
d3361049f3
|
@ -162,6 +162,8 @@ func launch(request Inbound, res http.ResponseWriter) {
|
|||
separate: &stderr,
|
||||
}
|
||||
|
||||
err := cmd.Run()
|
||||
|
||||
stdout = strings.TrimSpace(stdout)
|
||||
stderr = strings.TrimSpace(stderr)
|
||||
combined = strings.TrimSpace(combined)
|
||||
|
@ -178,8 +180,6 @@ func launch(request Inbound, res http.ResponseWriter) {
|
|||
combined = combined[:65536]
|
||||
}
|
||||
|
||||
err := cmd.Run()
|
||||
|
||||
// get the executing version of the language
|
||||
execlang := request.Language
|
||||
|
||||
|
|
Loading…
Reference in New Issue