os/exec.Command
standard libraryThe 151st most-called standard-library function by production calls. Called 10,760 times across 603 modules; 6,580 of those run outside tests and generated code.
0% in production calls vs 2026-W37 (6,575 → 6,580)
- prod calls
- 6,580
- non-test, non-generated
- all calls
- 10,760
- total callsites
- modules
- 603
- distinct callers
- in loop
- 8%
- of prod calls
- in tests
- 39%
- 4,180 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into Command from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 997 15%
- Tailscale 148 2%
- containerd 102 2%
- Docker 90 1%
- Go (golang.org/x) 73 1%
where it's called
Callsites in the wild
12 representative callsites of 10,760, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
CCTV/age @v0.0.0-20260829155415-4448f2097b2d
internal/generate.go:38
in loop - in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
miekg/dns @v0.6.114
internal/dnsperf/dnsperf.go:58
in loop - in loop
- in loop
-
docker/docker @v28.5.2+incompatible
in loop -
encr.dev @v1.58.6
pkg/supervisor/supervisor.go:223
in loop -
etcd-io/etcd @v2.3.8+incompatible
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call Command most in this snapshot.
- github.com/gastownhall/gastown8218%
- github.com/steveyegge/gastown8218%
- github.com/gastownhall/beads5395%
- github.com/steveyegge/beads5395%
- github.com/kubernetes/minikube3633%
siblings
More from os/exec
The other most-called functions in this package. See all →