MCPcopy
hub / github.com/tinygo-org/tinygo / ExitCode

Method ExitCode

src/os/exec.go:62–64  ·  view source on GitHub ↗

ExitCode returns the exit code of the exited process, or -1 if the process hasn't exited or was terminated by a signal.

()

Source from the content-addressed store, hash-verified

60// ExitCode returns the exit code of the exited process, or -1
61// if the process hasn't exited or was terminated by a signal.
62func (p *ProcessState) ExitCode() int {
63 return -1 // TODO
64}
65
66type Process struct {
67 Pid int

Callers 4

TestWasmExportFunction · 0.80
mainFunction · 0.80
readGoEnvVarsFunction · 0.80
LoadFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestWasmExportFunction · 0.64