Created
September 30, 2025 07:30
-
-
Save florianl/89a305f50e10b6c8dd75f8cb2a49cce9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "log" | |
| "os/exec" | |
| "syscall" | |
| ) | |
| func main() { | |
| path, err := exec.LookPath("python3.13") | |
| if err != nil { | |
| log.Fatal(err) | |
| } | |
| args := []string{ | |
| "python3.13", | |
| "/home/flehner/go/src/github.com/open-telemetry/opentelemetry-ebpf-profiler/tools/coredump/testsources/python/fib.py", | |
| } | |
| if err := syscall.Exec(path, args, nil); err != nil { | |
| log.Fatal(err) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment