byteexec

package
v0.0.0-...-21ace4c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunOnDocker

func RunOnDocker(executable []byte, sandboxMode bool, timeOut time.Duration, arg string) ([]byte, error)

RunOnDocker runs the given executable in a new docker container.

func RunOnLocal

func RunOnLocal(executable []byte, timeOut time.Duration, arg string) ([]byte, error)

RunOnLocal spawns a new subprocess and runs the given executable. NOT SAFE!

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL