Skip to content

Commit

Permalink
feat: support Golang, Python3 and PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
love98ooo committed Aug 17, 2024
1 parent bf0c703 commit d47d00e
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 d47d00e

Please sign in to comment.