Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶ added in v0.16.0
func Execute(dir, command string, stdin io.Reader, stdout, stderr io.Writer, timeLimit time.Duration, memoryLimit uint64) (time.Duration, uint64, error)
Execute runs the command with resource restrictions.
func SelectSubmissionFile ¶ added in v0.16.0
SelectSubmissionFile returns template of submission file to use, based on configured templates and passed 'submissionFilePath' value. 'submissionFilePath' must point to a valid file, if specified.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.