Skip to content

Commit

Permalink
Merge pull request #73 from NJUPT-SAST/feat-gojudge-mid-langs-support
Browse files Browse the repository at this point in the history
feat: support Golang, Python3 and PHP
  • Loading branch information
feellmoose authored Aug 17, 2024
2 parents bf0c703 + d47d00e commit fa9ca53
Show file tree
Hide file tree
Showing 8 changed files with 740 additions and 203 deletions.
2 changes: 1 addition & 1 deletion app/gojudge/internal/biz/gojudge.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (g *GoJudge) Compile(code []byte, language string, requestID string) (strin
Cmd: []*pb.Request_CmdType{
{
Args: command.Compile,
Env: []string{"PATH=/usr/bin:/bin"},
Env: command.Env,
Files: []*pb.Request_File{
requestMemory([]byte{}),
requestPipe("stdout", command.CompileConfig.StdoutMaxSize),
Expand Down
Loading

0 comments on commit fa9ca53

Please sign in to comment.